Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Link sharing/splitting using FlowchartLayout? (Read 1724 times)
Alexander_S
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Jan 20th, 2010
Link sharing/splitting using FlowchartLayout?
Feb 22nd, 2010 at 1:35pm
Print Post  
Hi!

I am using a FlowchartLayout with horizontal alignment, to generate a simple diagram left to right with branches . When the FlowchartLayout layouts the branches, i.e. multiple outgoing links from a source node to different destinations nodes, the vertical links are drawn close to each other. When there are many outgoing links, all the branches form a thick vertical line.

Is there an easy way to get the vertical parts of the link branches to be drawn on top of each other, or alternatively, to be automatically split and share the same vertical line?

Best regards
Alexander

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link sharing/splitting using FlowchartLayout?
Reply #1 - Feb 22nd, 2010 at 2:23pm
Print Post  
Hi,

It seems the links are distributed uniformly along the respective side of the node; there isn't any property available to disable that. However it should be easy to loop over the outgoinglinks of nodes and set their first and second point positions to the vertical center if you detect it's not a loop link (with points[0].X > points[count - 1].X).

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Alexander_S
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Jan 20th, 2010
Re: Link sharing/splitting using FlowchartLayout?
Reply #2 - Feb 23rd, 2010 at 6:54pm
Print Post  
Hi Stoyan!

OK, thanks!
I'll give it a try.


-Alexander
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint