documentationfor yFiles for HTML 2.6

Properties

outputRestrictionin InteractiveOrganicLayoutGets or sets an OutputRestriction which restricts the area for the layout result of this algorithm.
outputRestrictionin OrganicLayoutGets or sets the area restriction for the result of the layout algorithm.

Fields

NONEin OutputRestrictionThis OutputRestriction does not restrict the output by any means.

Method Return Values

createAspectRatioRestriction (number)in OutputRestrictionCreates an OutputRestriction that confines the layout result to a rectangular area which roughly complies with the given aspect ratio.
createCircularCageRestriction (number, number, number)in OutputRestrictionCreates an OutputRestriction that confines the layout result to a circle.
createEllipticalCageRestriction (number, number, number, number)in OutputRestrictionCreates an OutputRestriction that confines the layout result to an elliptical area.
createRectangularCageRestriction (number, number, number, number)in OutputRestrictionCreates an OutputRestriction that confines the layout to a rectangular area.

Method Parameters

InteractiveOrganicLayout ()in InteractiveOrganicLayoutCreates a new instance of the InteractiveOrganicLayout with default settings.
OrganicLayout ()in OrganicLayoutCreates a new OrganicLayout instance with default settings.