| Package | Description |
|---|---|
| com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
| Modifier and Type | Method and Description |
|---|---|
static PortAssignmentMode |
PortAssignmentMode.fromOrdinal(int ordinal) |
PortAssignmentMode |
DefaultPortAssignment.getMode()
Gets the mode that describes how ports are placed.
|
static PortAssignmentMode |
PortAssignmentMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortAssignmentMode[] |
PortAssignmentMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPortAssignment.setMode(PortAssignmentMode value)
Sets the mode that describes how ports are placed.
|
| Constructor and Description |
|---|
DefaultPortAssignment(PortAssignmentMode mode)
Creates a new
DefaultPortAssignment instance using the given port assignment mode and ratio between the border
and the ports and the gap between the ports themselves. |
DefaultPortAssignment(PortAssignmentMode mode,
double ratio)
Creates a new
DefaultPortAssignment instance using the given port assignment mode and ratio between the border
and the ports and the gap between the ports themselves. |