Organic Layout with Constraints
This demo shows how to use supplemental layout data to enforce
placement constraints when using the
Organic Layout algorithm.
The placement constraints used in this demo force
the turquoise nodes onto a perfect
circle. Without constraints, the
turquoise nodes are placed on an
Click the button in the toolbar to toggle between
Organic Layout with and without constraints.
You can copy the code snippet to configure the layout from
See the Constraints section in the
Developer's Guide for an in-depth discussion of the relevant concepts.
See the OrganicConstraintData API documentation for detailed information
on all available placement constraints.