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

How to send the Links backward to any crossing Node in GoJS diagram

$
0
0

@manasagarwal wrote:

As you can see in the diagram many links are crossing the nodes which looks dirty (NODE1, NODE2, RAM1, SSD3), I want to send all the links lines backward.

Please let me know how to achieve this by setting link template setting attributes. Currently I am using the following linkTemplate-
diagram.linkTemplate =
$(go.Link,
{

        routing: go.Link.AvoidsNodes,
        corner: 4,
        curve: go.Link.JumpOver,
        reshapable: true,
        resegmentable: true,
        relinkableFrom: true,
        relinkableTo: true,
    },
    $(go.Shape,
{
    strokeWidth: 1.0
}),
    $(go.Shape,
    {
        toArrow: "OpenTriangle"
    })
);

Look forward to hear from you..

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles