Specifies the possible sides of a node where ports can be located.
Type Details
- yFiles module
- algorithms
See Also
Constants
A combination of all possible side specifiers indicating that edges can connect to any side of a node.
Static Methods
Converts the given argument to an enum constant of this enum type.
Returns the name of the given enum constant.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - PortSides
- The numeric value of an enum constant.
Returns
- ↪string
- The name of the enum constant.
Throws
- Exception({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.