How to set graphLayout.ActualWidth & graphLayout.ActualHeight?

May 21, 2010 at 10:28 AM


I am loading my saved graph from my custom file. When loading, the vertices are set back to their original locations from when the file was saved.

The problem I am encountering is that if the graphLayout ActualWidth & ActualHeight of the current graphLayout is smaller than the original saved graph, the vertices do no appear in the right locations.

Can anyone offer some advice on setting the ActualWidth & ActualHeight of a graphLayout?



May 24, 2010 at 7:07 AM
Solved! Set the LayoutAlgorithmType = "";