This sample demonstrates a custom Layout, SpiralLayout, which assumes the graph consists of a chain of nodes. The layout is defined in its own file, as SpiralLayout.js.

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