dominator_constraint: Restrict child position based on parent position

Description Training parameters See Also

Description

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.

Training parameters

The following parameters defines the training of the constraint and can be passed along a call to impose()

See Also

Other constraints: infinity_constraint, path_constraint, polygon_constraint, velocity_constraint, x_constraint, y_constraint


particles documentation built on May 2, 2019, 4:01 p.m.