This sample demonstrates customization of the Link's routing to go through multiple Nodes. The nodes are specified by key in the link data's "path" property, which must be an Array of node keys.

As the user drags around Nodes on the "path", the routing is automatically recomputed to maintain a smooth curve.

### GoJS Features in this sample

#### Collections

GoJS provides its own collection classes: List, Set, and Map. You can iterate over a collection by using an Iterator. More information can be found in the GoJS Intro.

Related samples

#### Links

The Link class is used to implement a visual relationship between nodes. Links are normally created by the presence of link data objects in the GraphLinksModel.linkDataArray or by a parent key reference as the value of the TreeModel.nodeParentKeyProperty of a node data object in a TreeModel. More information can be found in the GoJS Intro.

Related samples