2.4.1 GoDiagram
I was hoping I would come up with some solution but I seem to be having problems when I have two GoBasicNode which share an embedded object reference.
i.e. rough pseudo code for simplicity
class DerivedNode : GoBasicNode
{
…
public MyObject myObject;
}
Main
…
MyObject sharedObj = new MyObject ();
DerivedNode a = new DerivedNode ();
DerivedNode b = new DerivedNode ();
a.myObject = sharedObj;
b.myObject = sharedObj;
Document.Add (a);
Document.Add (b);
…
The problem I am seeing is that both nodes are displayed in the view. However, if I select one of the nodes and try to drag it within the view the other node disappears or the drag operation seems to operate on a different axis and drags the item right off the screen.
As said before it is all a bit confusing and the above is the only way I can explain it - as it only manifests itself when shared references occur - which is valid for my application. If you have any ideas or thoughts like well that could only happen if you’ve overriden this event or interface - been tugging my hair out this week trying to resolve so thanks for any help in advance.