This is for GoXam for Silverlight, V126.96.36.199
I’m creating an MDI type application where each document pane is a GoXam diagram. The model for each diagram is a GraphLinksModel. Initially I can create a new document and I add some nodes to it. Please see the following screenshot:
I then save the diagram using the following line:
Model.Save<TNodeType, TLinkType>(RootElementName, NodeElementName, LinkElementName).ToString();
Where Model is the model contained by the diagram.
This generates the following XML:
I then close the pane, open it and load the diagram using the following code:
XElement root = XElement.Parse(xmlDiagramData);
Model.Load<TNodeType, TLinkType>(root, NodeElementName, LinkElementName);
This produces the following screenshot:
Initially, the nodes are displayed at the correct location but then that are aligned top left as can be seen in the screenshot.
My question is: how can I configure the diagram to respect the original coordinates of the nodes instead of having them automatically aligned as in the second screenshot?
The Style for the Diagram is currently configured as follows:
Please let me know if you need more information.