This diagram does not display Links. Instead the TreeLayout.layerSpacing is set to 0, so that each node and its children have no space between them.

The TreeLayout.treeStyle is set to StyleAlternating, so that alternating layers of the tree grow in each of two directions. Each node's TextBlock is angled according to the direction of the layer of the tree that it is in, and the Shape's size is set according to direction and the position of the node's children.

加入 GoJS 交流群
GoJS 交流群 (769862113)