I’m not quite sure my question was clearly expressed.
In regards to the weird effect I was talking about, here is the scenario: My test application will create a new IconicNode everytime I double-click on the GoView. The location at which I double-clicked is where the new node will appear. This works OK.
Next I implemented a GoSubGraph - and upon double-clicking the GoView, the application will automatically add the new node to the Graph as well. This works great when the graph is expanded. If I'm not mistaken, the graph has a default blue background engulfing all its child nodes - so when the graph is expanded, and a new node is added to the GoView, I would see the blue background expand just enough to include the new node.
However, the weird effect occur when the graph is collapsed. In the collapsed state, I have specified an Icon to represent the collapsed graph - but I think that shouldn't matter in this case. However when I double-click on the GoView, I would see a new node created - all the while, the graph is still collapsed; and the new node is not encased with the graph's defualt blue background.
This is weird. But what I have tried doing is expanding the graph - at which point the graph expands to include the new node. Now if I collapse the graph again, the new node would disappear from the view and the entire graph replaced with its specified icon.
I would be happy to post my code if necessary. Thanks for your help.