Location wrong


I am studing FlowChart example.
I saw that this example load FlowChart.xml s initial view - Perfect !

But I saw something strange I would like to understand…

  1. I opened FlowChart example reading default FlowChart.xml file- perfect!

  1. I changed this view and saved it, as you can see new xml code:

  1. I copied this new FlowChart text, and replace the FlowChart.xml original file, and for my surprise, the node opened in a wrong position, why ?

If you want to control where it shows the diagram in the DiagramPanel, you can set various properties on the Diagram whose names start with “Initial”. In this case you might want to set Diagram.InitialPosition=“0 0”.

Walter, thank you!! Perfect!