dominator_constraint: Restrict child position based on parent position

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.

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

thomasp85/particles documentation built on Jan. 15, 2019, 2:25 a.m.