Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic re-route overlapping arrows (Read 2340 times)
dasbose
YaBB Newbies
*
Offline



Posts: 6
Joined: Nov 16th, 2005
re-route overlapping arrows
Mar 7th, 2006 at 9:56pm
Print Post  
I have a diagram that represents several artifacts that have relationships defined between them.  two artifacts can have more than one relationship between them (many to many).  The arrows that represent the relationships currently overlap so that it appears that only one relationship exists.  How can I ensure that the two or more arrows that connect to the same node do not follow the same path?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: re-route overlapping arrows
Reply #1 - Mar 8th, 2006 at 10:07am
Print Post  
Hi,

At this time the control cannot separate such arrows automatically. You could try defining anchor for the nodes and allow only one arrow to be attached to an anchor point. Or after creating the arrows, explicitly set the positions of their first and last control points.

Stoyan
  
Back to top
 
IP Logged
 
mirko
YaBB Newbies
*
Offline



Posts: 7
Joined: May 17th, 2006
Re: re-route overlapping arrows
Reply #2 - May 19th, 2006 at 11:29am
Print Post  
Hi,
How can I allow only one arrow to be attached to an anchor point ?
Thank's,

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: re-route overlapping arrows
Reply #3 - May 19th, 2006 at 11:33am
Print Post  
Hi,

You can do that by handling the ValidateAnchor event. Check if another arrow already has that anchor point index as a OrgnAnchor or DestAnchor value, and if it does, return false from the event handler.

Stoyan
  
Back to top
 
IP Logged
 
mirko
YaBB Newbies
*
Offline



Posts: 7
Joined: May 17th, 2006
Re: re-route overlapping arrows
Reply #4 - May 19th, 2006 at 11:57am
Print Post  
It seems to work, although arrows are not routed very well. Thank's.

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