Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Custom Straight line for Avoid Nodes. Jump over is not working

$
0
0

@JP wrote:

Hi,

I am writing custom class for making straight line for avoid nodes by overriding Link.computepoints(). That mean if link is drawn below 9 pixel's then link will be straight and if link exceed than 9 pixel then it would be normal link.

But the thing is Link.JumpOver is not working for custom straight line.

  1. Custom straight Link and with unconnected ends then bend(JumpOver) is working.

  2. Connected ends and with bended link then bend(JumpOver) i is woking.

  3. But, If it's connected ends and straight line bend(JumpOver) i is not working

Can you guide me why that bend is not working in third picture?

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles