Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Hierarchy for selected nodes only (Read 2016 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Hierarchy for selected nodes only
Apr 12th, 2009 at 1:20pm
Print Post  
Hi,

I want to display only selected nodes in hierarchical layout instead of all the nodes of the diagram.can anybody help me in this ?

Thanks and Regards,
Anshul jain
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Hierarchy for selected nodes only
Reply #1 - Apr 13th, 2009 at 8:58am
Print Post  
Hi,

You could set the TreeLayout.Root property before calling Arrange, and only the nodes that can be reached from this root will be arranged. Another option is to add all nodes and links you need arranged to a DiagramItemCollection, and call the Arrange overload that takes a DiagramItemCollection argument.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint