What is the best way to save and restore a diagram that may contain subgraphs? I've tried various approaches, but all fall short. Here's my strategy so far.
I have an object model with nodes attached to objects. I’m using the PartID mechanism to reassociate the objects with the appropriate nodes after reading in the diagram and the objects from the file stream.
Everything seems to work after the file is reloaded, except that the subgraphs do not contain any nodes. Instead, they just float on the canvas as separate objects without any links attached. I’m subclassing the GoSubGraph.
One question I have is when using the GoXmlBindingTransformer, must I add a binding for ALL properties of the derived class?