I want to create a diagram in the below fashion
But i am able to only generate the diagram like the one below. I do not want the minor curved lines. And the line should link to center of the node. Though the diagram should start from the top, every node should connect to center of the node in a straight line.
Here is the code
$(go.Diagram, {
'undoManager.isEnabled': true,
layout: $(go.TreeLayout, {
angle: 0,
alignment: go.TreeLayout.AlignmentStart)```
linkTemplate = $(
go.Link,
{ routing: go.Link.Orthogonal, segmentFraction: 0.2 },
$(go.Shape, { stroke: ‘#5A5A5A’, strokeWidth: 1 })
);