Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7406

TreeLayout - aligning link lines

$
0
0

@jrietz wrote:

Hi,
I’m using the TreeLayout to render a logical scheme (AND / OR etc). However, I can not get the lines between the nodes aligning properly.

As it is rendered now it looks like this:
gojs-eqg-routing-not-ok

But I would like the lines from the different branches to be perfectly aligned like this:
gojs-eqg-routing-ok

Is this possible with some proper configuration, or do I have to write some custom code for this kind of routing?

Current config is like:
const layout = $(go.TreeLayout);
layout.alignment = go.TreeLayout.AlignmentStart;
layout.layerStyle = go.TreeLayout.LayerUniform;
layout.nodeSpacing = 8;
layout.layerSpacing = 20;

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7406

Trending Articles