Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Dynamically creating flowchart diagram from code (Read 2016 times)
tusharpateluk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: Sep 3rd, 2008
Dynamically creating flowchart diagram from code
Sep 18th, 2008 at 2:37pm
Print Post  
I am creating flowchart diagram dynamically from the code.

How can I create first diagram node on Top-centre  of the diagram and then keep adding new nodes and links at the bottom of the previous node?

Is their any property or method that can helps me to achieve the requirments.

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Dynamically creating flowchart diagram from co
Reply #1 - Sep 18th, 2008 at 6:56pm
Print Post  
You might create the nodes at random positions, set Bounds of the first node to the diagram's top/center, and call TreeLayout.Arrange with the first node set as a root and KeepRootPosition set to true.

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