Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Repeating link to same node merges both link ? (Read 2405 times)
jay
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 59
Joined: Feb 4th, 2009
Repeating link to same node merges both link ?
Mar 13th, 2009 at 11:32am
Print Post  
Hi stoyo,

          I have set
flowChart.setLinkStyle(LinkStyle.Cascading);
flowChart.setAllowLinksRepeat(true);
         
           When I create repeat links to a node, both links get merged. I want that repeated links should not get merged. How can i resolve this.

Thank you.
  
Back to top
 
IP Logged
 
jay
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 59
Joined: Feb 4th, 2009
Re: Repeating link to same node merges both link ?
Reply #1 - Mar 16th, 2009 at 10:52am
Print Post  
Hi stoyo,

           I had look on all API but I could not find any method to disable link merging when ther is repeatation or there are multiple outgoing links from a node.
          Would you please suggest how can
I oversome this problem.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Repeating link to same node merges both link ?
Reply #2 - Mar 16th, 2009 at 11:50am
Print Post  
Hi,

There is no built-in feature to separate repeating links automatically. You could move the points from the linkCreated handler when you detect there are some repeating links, or try to add the links to a DiagramItemList together with the nodes and pass the list to the OrtogonalRouter.arrange(Diagram, DiagramItemList) method.

Stoyan
  
Back to top
 
IP Logged
 
jay
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 59
Joined: Feb 4th, 2009
Re: Repeating link to same node merges both link ?
Reply #3 - Mar 18th, 2009 at 6:52am
Print Post  
Hi stoyo,

              Thanks for reply...I will try this
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint