Enumeration for the different possible validity states.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.PortCandidateValidity
Constants
The candidate cannot be used to create a port, instead getPortCandidateAt needs to be called to obtain a IPortCandidate that is either VALID or INVALID.
See Also
The candidate should not be used to connect an edge to.
See Also
The candidate is valid and can be used to connect an edge to.
See Also
Static Methods
Converts the argument to PortCandidateValidity.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - PortCandidateValidity
- The value to convert to PortCandidateValidity.
Returns
- ↪PortCandidateValidity
- Either
value
if it is already a PortCandidateValidity or an appropriate converted value.