Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
Modifier and Type | Field and Description |
---|---|
static PortDirections |
PortDirections.AGAINST_THE_FLOW
A port direction specifier indicating a port lying in the opposite direction of the main flow of the edge or of the
overall layout.
|
static PortDirections |
PortDirections.ANY
A combination of all possible direction specifiers indicating that edges can connect to any side of a node.
|
static PortDirections |
PortDirections.EAST
A port direction specifier indicating a port on the east (i.e., right) side of a node.
|
static PortDirections |
PortDirections.LEFT_IN_FLOW
A port direction specifier indicating a port lying left of the direction of the main flow of the edge or of the overall
layout.
|
static PortDirections |
PortDirections.NORTH
A port direction specifier indicating a port on the north (i.e., top) side of a node.
|
static PortDirections |
PortDirections.RIGHT_IN_FLOW
A port direction specifier indicating a port lying right of the direction of the main flow of the edge or of the overall
layout.
|
static PortDirections |
PortDirections.SOUTH
A port direction specifier indicating a port on the south (i.e., bottom) side of a node.
|
static PortDirections |
PortDirections.WEST
A port direction specifier indicating a port on the west (i.e., left) side of a node.
|
static PortDirections |
PortDirections.WITH_THE_FLOW
A port direction specifier indicating a port lying in the direction of the main flow of the edge or of the overall
layout.
|
Modifier and Type | Method and Description |
---|---|
static PortDirections |
PortDirections.fromName(String name) |
static PortDirections |
PortDirections.fromOrdinal(int value) |
protected PortDirections |
PortDirections.fromOrdinalImpl(int ordinal) |
PortDirections |
PortCandidate.getDirection()
Gets the direction of this
PortCandidate . |
PortDirections |
PortCandidate.getDirectionForLayoutOrientation(LayoutOrientation layoutOrientation)
Returns the direction of this
PortCandidate instance with respect to the given
layout orientation . |
protected PortDirections[] |
PortDirections.getItems() |
Modifier and Type | Method and Description |
---|---|
static PortCandidate |
PortCandidate.createCandidate(double xOffset,
double yOffset,
PortDirections directionMask)
Factory method that creates a fixed
PortCandidate instance with the given cost of usage, direction and offset
values. |
static PortCandidate |
PortCandidate.createCandidate(double xOffset,
double yOffset,
PortDirections directionMask,
double cost)
Factory method that creates a fixed
PortCandidate instance with the given cost of usage, direction and offset
values. |
static PortCandidate |
PortCandidate.createCandidate(PortDirections directionMask)
Factory method that creates a free
PortCandidate instance with the given direction and zero cost of usage. |
static PortCandidate |
PortCandidate.createCandidate(PortDirections directionMask,
double cost)
Factory method that creates a free
PortCandidate instance with the given direction and cost of usage. |
PortCandidateSet.IEntry |
PortCandidateSet.ICandidateMatcher.findMatchingCandidate(Edge edge,
boolean source,
double xOffset,
double yOffset,
PortDirections directionMask)
Returns the next best matching
PortCandidateSet.IEntry for the given parameters. |
PortCandidateSet.IEntry |
PortCandidateSet.ICandidateMatcher.findMatchingCandidate(Edge edge,
boolean source,
PortDirections directionMask)
Returns the next best matching
PortCandidateSet.IEntry for the given parameters. |
boolean |
PortCandidate.isInDirection(PortDirections directionMask)
Returns whether or not this
PortCandidate lies in the given direction. |