@anvlkv wrote:
Hi!
I'm using TreeLayout to display GraphLinks model.
The minimal configuration I'm trying to use looks like this:
$(go.TreeLayout, {
treeStyle: go.TreeLayout.StyleLastParents,
layerSpacing: 80,
nodeSpacing: 80,
alternateLayerSpacing: 160,
alternateNodeSpacing: 160,
}),But further configuration of layout causes me a lot of problems:
enabling
alignment: go.TreeLayout.AlignmentBus,
alternateAlignment: go.TreeLayout.AlignmentTopLeftBus,
Results in strange geometry of linksenabling
arrangement: go.TreeLayout.ArrangementHorizontal,
Results in whole tree being collapsed into single lineWhat am I doing wrong or is it something wrong with my model?
Another question I have is how to prevent multiple links from collapsing into a single line.
Posts: 10
Participants: 2