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

PackStraighten doesn't work well

$
0
0

@itayh wrote:

Hi,

I’m using AlignedLayeredDigraphLayout as the main layout and as the layout of my groups.
I’m dealing with big topologies so it’s very importent that the line will be straighten if possible.

here is an example for lines that are almost straight :(

layout: $(AlignedLayeredDigraphLayout, {
columnSpacing: 15,
layerSpacing: 100,
linkSpacing: 150,
layeringOption: go.LayeredDigraphLayout.LayerOptimalLinkLength,
aggressiveOption: go.LayeredDigraphLayout.AggressiveMore,
initializeOption: go.LayeredDigraphLayout.InitDepthFirstIn,
//packOption: go.LayeredDigraphLayout.PackAll,
packOption: go.LayeredDigraphLayout.PackStraighten,
setsPortSpots: false
})

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles