Force Directed Project

by mheydt 7. August 2008 00:03 >
I've gotten a few requests about the force directed graph post that I made several months back.  Seems that this is a popular topic for people trying to find code to do this, and I've been asked several times to post the code.

First, I don't know how robust and scalable this control is, as I was only writing it to learn some WPF control templating.  Also, I modeled the engine off of some code in another open source project that is GPL.  I say modeled as I literally wrote my own off of that code, but because of that it is somewhat similar, so I wonder about distributing my code before I do some checks into licensing.  Until I figure that out, you can get the code that I started with over at the Netron site and do similarly to what I did.  Note that the code in that project supports a lot more functionality, is highly intertwined with WinForms code (not WPF), and that is where I spent most of the time converting things into an engine that only does force directed layout, is seperate from the UI, and of course with a WPF interface.

And, as I mention in this post, I've actually moved on with creating what should be a much more robust force directed graph control using the C++ boost graph library wrapped with C#.  That code is in a really early stage and not worth posting at this point, but given the interest I may very well try to get it better and posted for everyone.  That is free to distribute if that time ever comes.  Unfortunately, it does not work quite as well as the former project at this point as I am still learning how to do the C++ to C# integration.

Tags:

.Net | C# | C++ | WPF

blog comments powered by Disqus

about the author

I'm a .NET, XAML, and iOS polyglot that loves playing with new things and making cool and innovative stuff.  I am also a Mac junkie.

I am Principal Technologist for SunGard Global Services in NYC, in their Advanced Technologies practice, and I work extensively with SunGard's energy and financial customers.

Note the the posting on this blog are my own and do not represent the position, strategies or opinions of SGS.

twitter

I can't stop thinking big!
Sunday 1:08AM via WindowsLive
Just watched Moneyball. That's my pick for best movie this year.
Saturday 3:51PM via WindowsLive
@vincebelpiede: Report: Skype For Windows Phone Beta Imminent http://t.co/KYNjgg1L#mhtnd
Wednesday 8:39AM via Twitter for Mac
@mashable: Kinect Fusion Will Turn Gaming (and More) Into a 3D Fun House - http://t.co/Ihrq2fY2#mhtnd
Wednesday 8:39AM via Twitter for Mac
New Kinect SDK: http://t.co/57MvA5L5 #mhtnd
Wednesday 8:39AM via Twitter for Mac
Follow me on Twitter

recent comments

None

month list