My GoDiagram Application has 2 GoViews. And the nodes in 1st goView have reference of other node in 2nd GoView. This application contains some code which is performed when some node is changed in 1st goView then the node(its reference is stored in a node in 1st goView) in the 2nd GoView is modified.
Now , this works fine when I am creating everything at first time. But when I save this as XML using GoXML writer and open it using GoXML reader, it opens only diagram. But I can not save references of nodes as this is heap memory location which will be different when I reads next time. So when I read again the diagram(both diagrams 1st and 2nd goView), I want to make changes in the diagrams which should be reflected in other diagram(as code uses references of nodes). But currently, I can not do these changes in diagram, opened reading existing XML of the diagram.
I want to know best practice to solve above issue with minimum time to open saved diagrams. I know that i need to somehow get back the new references and keep in each node. But I am finding it difficult to do it.
Could you please help me to solve the problem?
Thanks you very much…