Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Swim Lanes and auto- arrange (Read 1454 times)
vicmart69
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Aug 28th, 2009
Swim Lanes and auto- arrange
Nov 26th, 2009 at 4:54pm
Print Post  
Hi,

Is it possible to have the nodes in a swim lane diagram auto arrange just like in the windows form application?  I would like to create a bunch of nodes, assign them to specific lanes, and then click a button to automatically arrange the flow.  I could I do that?

Thanks,

PS: Great control!!

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Swim Lanes and auto- arrange
Reply #1 - Nov 26th, 2009 at 6:55pm
Print Post  
Hi,

There is no built-in support for lanes. If your graphs are not very dense, you can get good results by running LayeredLayout with Orientation = Horizontal to assign the nodes X coordinates, and then loop over the nodes and set them at Y position corresponding to their lanes. You will also need to update the links after that, say by aligning their end points to the middle of the node borders and calling Route.

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