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

Controlling the gap between the end link and the node

$
0
0

@Tany wrote:

Hi,
I’m trying yo control the gap between the link and the node, when the link breaks down.
image
In your example, “dynamic ports”, the link breaks “far” from the node (black arrow).
I tried to set the link template attributes, like in the sample code :

routing: go.Link.AvoidsNodes,
corner: 4,
curve: go.Link.JumpGap,
reshapable: true,
resegmentable: true,
relinkableFrom: true,
relinkableTo: true

But the link breaks “near” the node.
I did my example without ports, only node to node link.
I cannot figure out which attribute control the gap between the link and the node.
Regards,
Tany

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles