Expand and Collapse


#1

Is it possible to expand and collapse nodes that are linked. In other words, if I have a node with three children, can I collapse it so just the parent is showing?


#2

Are you talking about independent GoObjects (GoNodes) that are related by links? If so, check out the TreeApp sample.
Are you talking about a GoNode that is a parent/owner/container of the other nodes? If so, check out the GoSubGraph class. We’re adding new features to GoSubGraph in our next release, as you can read elsewhere in this forum.