Relative positioning


The Location property of a node is allways relative to the view it is on. It there any way of obtaining the location relative to its parent?
If a Node is on a subgraph for example, I need the location to reflect the location relative to the subgraph, and not to the view.


You could subtract the location of the group from the location of the child.
In fact, GoSubGraph.SaveChildBounds does this when the subgraph is collapsed in order to store relative positions (and original sizes) in the GoSubGraph.SavedBounds Hashtable.