Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Expandable nodes (Read 2852 times)
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Expandable nodes
Apr 13th, 2012 at 7:08am
Print Post  
Hello. I have the following question.
I have the stadard ShapeNode and made them expandable. Is there any way to implement behavior: when node expands all other nodes which drawing on the the same place with children nodes are moving down or left (the same behavior as standard windows expander)?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Expandable nodes
Reply #1 - Apr 13th, 2012 at 10:15am
Print Post  
Hi,

You could run TreeLayout from the NodeExpanded and NodeCollapsed event handlers. This is shown in the DirTree sample project.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Re: Expandable nodes
Reply #2 - Apr 13th, 2012 at 10:33am
Print Post  
Thanks. It is practically what I need to do. But can I flip this tree on 90 degrees and make the diagram like in the attachment?
  

sample.jpg (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Expandable nodes
Reply #3 - Apr 13th, 2012 at 10:40am
Print Post  
Set TreeLayout.Type to Centered.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Re: Expandable nodes
Reply #4 - Apr 13th, 2012 at 10:42am
Print Post  
Thanks. I'll try to do.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint