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

Layered & Layered-Horizontal Graph layout

$
0
0

@Archie wrote:

Hi,
I am using GoJs (V1.4.6) graphs to create layered and layered-horizontal layouts. I have ensured that my layout settings are identical to what has been shown here : https://gojs.net/latest/samples/ldLayout.html.
Below is my code for "Layered" layout.

layout = make(go.LayeredDigraphLayout, {
direction: 0,
aggressiveOption: go.LayeredDigraphLayout.AggressiveLess,
cycleRemoveOption: go.LayeredDigraphLayout.CycleDepthFirst,
initializeOption: go.LayeredDigraphLayout.InitDepthFirstIn,
iterations: 4,
layeringOption: go.LayeredDigraphLayout.LayerLongestPathSource,
packOption: go.LayeredDigraphLayout.PackStraighten,
columnSpacing: 10,
layerSpacing: 35,
setsPortSpots: true
});
and I end up with the graph layout

I was expecting the node (with house like icon) to appear on the right-hand side of the transaction-like node( $ icon). What am I missing?. The first 3 levels appear OK but not there after.

Note : I have similar problem with "layered-horizontal" layout as well.

.

Any help is highly appreciated.

Cheers,
Archie

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7425

Latest Images

Trending Articles



Latest Images