Share Download code Jump to the code Open in the playground

Expand with pinning

In this example you can see how you can take advantage of the "pinning" option when adding elements to the graph and running the layout. The "pinned" nodes are taken into account by the layout but not moved by it.