Package | Description |
---|---|
com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
Modifier and Type | Method and Description |
---|---|
static RootAlignment |
RootAlignment.fromOrdinal(int ordinal) |
RootAlignment |
DefaultNodePlacer.getRootAlignment()
Gets how the root node is aligned with its children and their
TreeLayout.SubtreeShape s. |
static RootAlignment |
RootAlignment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RootAlignment[] |
RootAlignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultNodePlacer.setRootAlignment(RootAlignment value)
Sets how the root node is aligned with its children and their
TreeLayout.SubtreeShape s. |
Constructor and Description |
---|
DefaultNodePlacer(ChildPlacement childPlacement,
RootAlignment rootAlignment,
double verticalDistance,
double horizontalDistance)
Creates a new
DefaultNodePlacer instance with customized
child placement , root alignment ,
vertical and horizontal distance . |
DefaultNodePlacer(ChildPlacement childPlacement,
RootAlignment rootAlignment,
RoutingStyle routingStyle,
double verticalDistance,
double horizontalDistance)
Creates a new
DefaultNodePlacer instance with customized
child placement , root alignment ,
routing style , vertical and
horizontal distance . |
DefaultNodePlacer(ChildPlacement childPlacement,
RootAlignment rootAlignment,
RoutingStyle routingStyle,
double verticalDistance,
double horizontalDistance,
double minFirstSegmentLength,
double minLastSegmentLength,
double minSlope,
double minSlopeHeight)
Creates a new
DefaultNodePlacer instance with custom settings. |