This example shows how to use the local force layout algorithm on a subgraph. 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.