Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Visualization using MsAgl
Mark Junker edited this page Jun 7, 2018
·
1 revision
QuickGraph supports MsAgl to render the graphs. The QuickGraph.MsAgl assembly contains specialize 'populator' that convert a QuickGraph graph into a MsAgl graph.
IVertexAndEdgeListGraph<string,Edge<string>>g= ...;varpopulator=MsAglGraphExtensions.CreateMsaglPopulator<string,Edge<string>>(g);populator.Compute();Graphg=populator.GleeGraph;// we have the graph :)Once you have the Glee graph, you can use the MsAgl rendering support or built-in visualizer controll to view it.
Hook to the VertexAdded, EdgeAdded events to get a hold on the MsAgl nodes and edges as they are created.
WARNING: You must have a copy of MsAgl in order to get this to work!