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

Weird link hickups when autolayout

$
0
0

@robinvanbrakel wrote:

Goodday, Im using GoJS Autolayout and its great so far, but one thing that bothers me atm and something i cant seem to fix is that the lines are not drawn properly when autolayouting.

See screenshot to know what I mean.

Configuration:

layout: $(go.LayeredDigraphLayout, {
    direction: 90,
    layerSpacing: 50,

this.diagram.linkTemplate = $(go.Link,
  {
    routing: go.Link.AvoidsNodes,
    curve: go.Link.JumpGap,
  },
  $(go.Shape),
  $(go.Shape, { toArrow: 'Standard' })
);

Is there a way to keep the lines as straight as possible and only reroute when its necessary?

thanks in advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles