Good Morning,
I have the following minor issue:
I am using a GoLayoutLayeredDigraph to display some nodes and subgraphs and it works well.
I had the issue where I needed to re-layout the graph when I minimize and maximize the subgraph but that is all resolved now.
My current struggle is that I need the subgraph to start at the upper left corner of my screen and currently it automatically moves some distance away.
Below is my code:
[code]
private void Layout_Graph()
{
//_mainLayout.ArrangementOrigin = new PointF(0F, 0F);
_mainLayout.LayerSpacing = 10;
_mainLayout.DirectionOption = GoLayoutDirection.Down;
_mainLayout.PackOption = GoLayoutLayeredDigraphPack.Median;
_mainLayout.PerformLayout();
_mainLayout.LayoutNodesAndLinks();
}
[/code]
I tried using the tree-layout and it has a nice property called Arrangement origin which did the trick but I can not use that control because it does not adjust the link size when I collapse the subgraph even after I re-layer it.
So my quesion is how can I position a GoLayoutLayeredDigraph in the upper left corner of the view.
Thanks
Susan