XML store

HI All
I am trying to store diagrams using XML, but when I call store first it is trying to store link and then the nodes. When I load the diagram, it shows links missing.
Can anyone help me to correct this.
Thanks
Chaggu

Make sure you write out all the nodes first, and then the links.
That way when you load the links, you will be able to resolve the ports/nodes correctly.

Hi walter
I put all the nodes and a comment in one ForEach(GoObject) statement and then put link in another foreach(GoObject…) statement. If I have multiple links only one or two are visible on loading.
Thanks
Chaggu

Most, if not all, of the examples do this, so if it isn’t working for you, you’ll need to debug it.