Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.MultiRowConstraint
See Also
Constants
Constraint specifier for a multi-row rectangle arrangement that constrains the height of the layout.
Remarks
Limits the height of the arrangement to the given preferred height value. If some rectangles are higher than allowed, then they are placed nevertheless, but the constraint will still be considered for the rest and not weakened to the height of the higher rectangles. Having one rectangle being higher than the constraint does always result in arrangements consisting only of a single top-level row.
See Also
Constraint specifier for a multi-row rectangle arrangement that is unconstrained.
Remarks
Both, height and width, are not limited in size. The rectangles will be arranged in a way that the view ratio defined by the preferred height and width will be achieved.
See Also
Constraint specifier for a multi-row rectangle arrangement that constrains the width of the layout.
Remarks
Limits the width of the arrangement to the given preferred width value. If a rectangle is wider than allowed, then it will nevertheless be placed (in a row containing the rectangle alone), but the constraint will be still considered for other rows and not weakened.
See Also
Static Methods
Converts the argument to MultiRowConstraint.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - MultiRowConstraint
- The value to convert to MultiRowConstraint.
Returns
- ↪MultiRowConstraint
- Either
value
if it is already a MultiRowConstraint or an appropriate converted value.