documentationfor yFiles for HTML 3.0.0.3

Method Return Values

from (ConstraintOrientation)in ConstraintOrientationConverts the given argument to an enum constant of this enum type.

Method Parameters

from (ConstraintOrientation)in ConstraintOrientationConverts the given argument to an enum constant of this enum type.
getName (ConstraintOrientation)in ConstraintOrientationReturns the name of the given enum constant.
addAlignmentConstraint (ConstraintOrientation, number?)in OrganicConstraintDataAdds constraints that cause the given nodes to align parallel to the specified axis.
addFixedDistances (ConstraintOrientation)in OrganicConstraintDataAdds constraints to fix the positions of the specified nodes in relation to one another along one coordinate axis.
addMaximumDistance (TNode, TNode, number, ConstraintOrientation)in OrganicConstraintDataAdds constraints that enforce a maximum vertical or horizontal distance between the given nodes.
addOrderConstraint (ConstraintOrientation)in OrganicConstraintDataAdds constraints that cause the given nodes to be placed along the specified axis in the order they are given.
addRegularAlignmentConstraint (ConstraintOrientation, number?)in OrganicConstraintDataAdds constraints that cause the given nodes to be aligned parallel to the specified axis.
addSeparationConstraint (ConstraintOrientation, number)in OrganicConstraintDataAdds constraints that enforce a minimum distance between two sets of nodes.