Description Training parameters See Also
This constraint requires children to be positioned at a certain side of their parent and with a certain distance. It can be used to enforce a layering of particles for e.g. DAG and tree layouts.
The following parameters defines the training of the constraint and can be
passed along a call to impose()
distance
: The minimum orthogonal distance to the parent. Default to 0
,
meaning that children are only required to be positioned to the specific
side of their parent. (tidy eval)
angle
: The direction the children should be enforced to be relative to
their parent. Defaults to -pi/2
which is equivalent to down. (tidy eval)
Other constraints: infinity_constraint
,
path_constraint
,
polygon_constraint
,
velocity_constraint
,
x_constraint
, y_constraint
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.