This demo shows how to run the OrganicLayout algorithm on a predefined
subset of nodes in a graph.
To achieve this, two setup steps are necessary:
The algorithm has to know which set of nodes to work on. Class
OrganicLayoutData offers the property
scope, in which the set of
nodes can be specified.
In this demo, the layout algorithm is only applied to the
orange nodes — for which there is no
predefined layout information in the JSON sample data — and their surrounding nodes.