Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How Make Tree With  Assistant ?(Like Exel Chart) (Read 1473 times)
mj_majid_f
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Sep 6th, 2010
How Make Tree With  Assistant ?(Like Exel Chart)
Sep 6th, 2010 at 11:54am
Print Post  
hi
Can You Tell Me How Make Tree With Assistant Node?
Like Image Below :





Thanks
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: How Make Tree With  Assistant ?(Like Exel Char
Reply #1 - Sep 6th, 2010 at 12:42pm
Print Post  
To mark a node as assistant for a subsequent tree layout, set its MindFusion.Layout.TreeLayoutTraits.Assistant layout trait to one of the values of the MindFusion.Layout.AssistantType enumeration (other than None). For example, the following code marks a node as assistant:

Code
Select All
node.LayoutTraits[MindFusion.Layout.TreeLayoutTraits.Assistant] =
      MindFusion.Layout.AssistantType.Normal; 


The following code runs an assistant-enabled tree layout on a diagram:

Code
Select All
TreeLayout l = new TreeLayout();
l.EnableAssistants = true;
l.LinkStyle = TreeLayoutLinkType.Cascading3;
l.Arrange(diagram1); 


Let me know if this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
mj_majid_f
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Sep 6th, 2010
Re: How Make Tree With  Assistant ?(Like Exel Char
Reply #2 - Sep 7th, 2010 at 7:04am
Print Post  
hi
thanks meppy
this work for me
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint