Questions tagged [msagl]

MSAGL is a .NET tool for graph layout and viewing.

MSAGL is a .NET tool for graph layout and viewing. It was developed in Microsoft by Lev Nachmanson, Sergey Pupyrev, Tim Dwyer and Ted Hart. MSAGL is available as open source at https://github.com/Microsoft/automatic-graph-layout

18 questions
0
votes
1 answer

C# how to change object attributes dynamically

am reading this tutorial http://chalaki.com/how-to-program-msagl-glee-to-create-hierarchical-graph-layouts/519/ using the code sample. am trying to make the attributes dynamic (i want to be able to load the attributes from a database later) i have…
Law
  • 129
  • 1
  • 3
  • 10
0
votes
0 answers

NullReference exception when using AddPrecalculatedGraph

i need to to some work with Edge object before adding it to graph, so i create it like this private void AddNewEdgeToGraph(string sourceNodeID, string targetNodeID) { Edge newEdge = new Edge(sourceNodeID, "", targetNodeID); …
TheSmokingGnu
  • 302
  • 2
  • 6
  • 15
0
votes
1 answer

Cast error when drawing Subgraphs in MSAGL

I have a root Subgraph object with four child Subgraphs each containing a few Nodes. I have added all the Subgraphs and Nodes to the Graph and set the RootSubgraph on the Graph. However, when trying to draw the Graph I get a cast error from within…
DavidTheWin
  • 208
  • 1
  • 7
1
2