Package | Description |
---|---|
com.yworks.yfiles.layout.seriesparallel |
Provides the series-parallel layout algorithm.
|
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 mode and a given value for the ratio
of the gap between the border and the ports to the gap between the ports themselves. |
DefaultPortAssignment(PortAssignmentMode mode,
double ratio)
Creates a new
DefaultPortAssignment instance using the given mode and a given value for the ratio
of the gap between the border and the ports to the gap between the ports themselves. |