Package | Description |
---|---|
com.yworks.yfiles.layout.organic |
Provides organic layout style algorithms that are based on a force-directed layout paradigm.
|
Modifier and Type | Field and Description |
---|---|
static OutputRestriction |
OutputRestriction.NONE
This
OutputRestriction does not restrict the output by any means. |
Modifier and Type | Method and Description |
---|---|
static OutputRestriction |
OutputRestriction.createAspectRatioRestriction(double ratio)
Creates an
OutputRestriction that confines the layout result to a rectangular area which roughly complies with
the given aspect ratio. |
static OutputRestriction |
OutputRestriction.createCircularCageRestriction(double x,
double y,
double radius)
Creates an
OutputRestriction that confines the layout result to a circle. |
static OutputRestriction |
OutputRestriction.createEllipticalCageRestriction(double x,
double y,
double w,
double h)
Creates an
OutputRestriction that confines the layout result to an elliptical area. |
static OutputRestriction |
OutputRestriction.createRectangularCageRestriction(double x,
double y,
double w,
double h)
Creates an
OutputRestriction that confines the layout to a rectangular area. |
OutputRestriction |
OrganicLayout.getOutputRestriction()
Gets the area restriction for the result of the layout algorithm.
|
OutputRestriction |
InteractiveOrganicLayout.getOutputRestriction()
Gets an
OutputRestriction which restricts the area for the layout result of this algorithm. |
Modifier and Type | Method and Description |
---|---|
void |
OrganicLayout.setOutputRestriction(OutputRestriction value)
Sets the area restriction for the result of the layout algorithm.
|
void |
InteractiveOrganicLayout.setOutputRestriction(OutputRestriction value)
Sets an
OutputRestriction which restricts the area for the layout result of this algorithm. |