Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET graph library around? [closed]

I am looking for Graph libraries for .net. Are there any out?

ps: I mean GRAPH libraries, not graphics nor charting libraries!

edit: What I mean is graphs, from graph theory: alt text
(source: sourceforge.net)

I also need it to have drawing capabilities.

like image 820
devoured elysium Avatar asked Oct 16 '09 14:10

devoured elysium


6 Answers

Use a combination of QuickGraph (GitHub, CodePlex) and Graph# for WPF (GitHub fork, CodePlex) - both top notch libraries. They work really well for me but the documentation for Graph# is almost non-existant.

like image 65
Matt Breckon Avatar answered Nov 16 '22 23:11

Matt Breckon


I am working in the NDepend team and we switched from GraphViz to MsAgl (Microsoft Automatic Graph Layout) in september 2008. The MsAgl license allows commercial utilisation. Here are a few sample pictures of MsAgl graphs integrated in NDepend (everything is interactive, nodes are movable/selectable/removable/clickable, edges are editable/selectable/removable/clickable, the layout is zoomable, and also, while it could be cleaner the MsAgl API is clean enough to work with):

enter image description hereenter image description hereenter image description here

like image 21
Patrick from NDepend team Avatar answered Nov 16 '22 22:11

Patrick from NDepend team


Though my previous post get deleted I'll try to give more complex answer on the question. The topmost answer is not quite actual anymore as the Graph# library is strongly outdated.

I'll recommend to check the combination of GraphX and Quickgraph. GraphX as the rendering engine and Quickgraph as the graph management and math operation component.

GraphX library is coded for WPF 4.0 and METRO. It provides many features that Graph# lacks:

  • Improved rendering performance for large graphs
  • Edge routing and bundling support, many other edge options
  • Enhanced zoom control which supports Overview window and multiple vertices selection
  • Rich documentation and samples

Also GraphX supports all the original layout algorithms from Graph#.

like image 13
Alexander Smirnov Avatar answered Nov 16 '22 23:11

Alexander Smirnov


There is QuickGraph, it works pretty well and has most of the basic algorithms.

like image 9
Doug McClean Avatar answered Nov 16 '22 22:11

Doug McClean


Take a look at yWorks: http://www.yworks.com/en/index.html

There aren't a massive amount of good libraries out there, from what I've seen.

like image 5
A S Avatar answered Nov 16 '22 21:11

A S


You can use the NodeXL API from Microsoft Research at: http://www.codeplex.com/NodeXL but a similar question has been asked at: https://stackoverflow.com/questions/44090/do-you-know-any-graph-visualization-libraries-for-net/

like image 5
DrDee Avatar answered Nov 16 '22 21:11

DrDee