Share Download code Jump to the code Open in the playground

Local force

Press "ctrl" and select some nodes with the lasso tool using the mouse. Only the selected nodes will be moved by the layout. You can also take the 'pinned' nodes into account, allowing the algorithm to avoid them when placing the other nodes.