Hello,
I have a Layered Digraph graph that has an odd appearance when I add an additional node and link.
The nodes adds in the expected location, but the link route is drawn oddly until I do a redraw operation (then the link route is as expected).
The layout configuration is as follows
layout = make(go.LayeredDigraphLayout, {
direction: 0,
aggressiveOption: go.LayeredDigraphLayout.AggressiveLess,
cycleRemoveOption: go.LayeredDigraphLayout.CycleDepthFirst,
initializeOption: go.LayeredDigraphLayout.InitDepthFirstIn,
iterations: 10,
layeringOption: go.LayeredDigraphLayout.LayerOptimalLinkLength,
packOption: go.LayeredDigraphLayout.PackStraighten,
columnSpacing: 10,
layerSpacing: 35,
setsPortSpots: true
The graph looks like this when appending the purple node and link
The graph looks like this after a redraw
Can you suggest what is causing the behaviour shown in the first image?
Thank you