Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
Modifier and Type | Method and Description |
---|---|
static PortSide |
PortSide.fromOrdinal(int ordinal) |
PortSide |
PortConstraint.getSide()
Gets the side of the node to which an edge should connect.
|
static PortSide |
PortSide.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortSide[] |
PortSide.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static PortConstraint |
PortConstraint.create(PortSide side)
Creates a new
PortConstraint that constrains the edge to connect to the given side of a node and that can be
either strong or weak. |
static PortConstraint |
PortConstraint.create(PortSide side,
boolean strong)
Creates a new
PortConstraint that constrains the edge to connect to the given side of a node and that can be
either strong or weak. |