Hi!
I was trying this tool out, since it looks very promising to what I try to do.
How can I set new position (with X and Y coordinates) to new Node? I need to place nodes into very precise points on this "canvas" and then let this tool do all the routing.
For example, if I have:
mainGraph.AddNode(new Node("T"));
Then, how can I set new absolute X,Y -coordinate for this? I tried with:
mainGraph.FindNode("T").GeometryNode.Center = new Point(10, 10);
but nothing happens. Even after I call: viewer.Invalidate();.
Can you please help me with this? A Code example would be awesome! Thanks!
Hi!
I was trying this tool out, since it looks very promising to what I try to do.
How can I set new position (with X and Y coordinates) to new Node? I need to place nodes into very precise points on this "canvas" and then let this tool do all the routing.
For example, if I have:
mainGraph.AddNode(new Node("T"));Then, how can I set new absolute X,Y -coordinate for this? I tried with:
mainGraph.FindNode("T").GeometryNode.Center = new Point(10, 10);but nothing happens. Even after I call:
viewer.Invalidate();.Can you please help me with this? A Code example would be awesome! Thanks!