I am setting the layout using the following code but evertime the graph is rendered it renders in a random order, the nodes are placed in different locations evertime. Help? Thanks in advance!!!
var
layout = new NSpringLayout();var shapesToLayout = drawingView.Document.ActiveLayer.Children(
NFilters.Shape2D );layout.Layout( shapesToLayout,
new NDrawingLayoutContext( drawingView.Document ) );drawingView.Document.SizeToContent();