Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Routing Multiple Links Between Nodes (Read 1382 times)
jholliday
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 9th, 2010
Routing Multiple Links Between Nodes
Jun 16th, 2010 at 1:58am
Print Post  
I want to create a "state machine" diagram, where any pair of nodes may have multiple links between them.  Using the flowlayout algorithm, the links all take the same route, resulting in the lines and the text overwriting each other.

How do I setup a layout that forces each link to take a different route so that they are all readable?  Also, how to for the links to be curved?  I've tried  using the Bezier style, but the links are still shown as straight lines.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Routing Multiple Links Between Nodes
Reply #1 - Jun 16th, 2010 at 4:00am
Print Post  
Hi,

I think this implements something similar to what you want:
http://mindfusion.eu/Forum/YaBB.pl?board=fcnet_disc;action=display;num=125958810...

If that doesn't work for you, please email to support@mindfusion.eu a sample xml diagram file and an image showing how you want it laid out.

Stoyan
  
Back to top
 
IP Logged
 
jholliday
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 9th, 2010
Re: Routing Multiple Links Between Nodes
Reply #2 - Jun 16th, 2010 at 7:51am
Print Post  
Thanks - at first it didn't seem to work, but I was overriding the routing at the diagram level using this code:

diagram.DynamicLinks=true;
diagram.RouteLinks=true;

Once I removed these lines, the sample code in the post worked very well.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint