Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic control bezier-style link direction in javascript (Read 2176 times)
hans
Junior Member
**
Offline


I Love MindFusion!

Posts: 81
Location: Netherlands
Joined: Mar 17th, 2012
control bezier-style link direction in javascript
Mar 17th, 2012 at 8:43pm
Print Post  
using Jdiagram.jar I want to make the bezier-style links always start and end horizontal. Is there a way to do this ?
Can this be done with the link.controlpoints ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: control bezier-style link direction in javascript
Reply #1 - Mar 19th, 2012 at 8:17am
Print Post  
If you add anchor points to the left and right sides of nodes and enable auto-routing, links should always start and end with horizontal segments. You could also ensure that by setting ControlPoints coordinates after links are created or modified.

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