Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.PortDirections
See Also
PortCandidate.createCandidate(number,number,PortDirections,number),
PortCandidate.createCandidate(PortDirections,number),
PortCandidate.direction,
PortCandidate.getDirectionForLayoutOrientation,
PortCandidate.isInDirection,
IPortCandidateMatcher.findMatchingCandidate(Edge,boolean,number,number,PortDirections),
IPortCandidateMatcher.findMatchingCandidate(Edge,boolean,PortDirections)
Constants
Static Methods
Converts the argument to PortDirections.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - PortDirections
- The value to convert to PortDirections.
Returns
- ↪PortDirections
- Either
value
if it is already a PortDirections or an appropriate converted value.