documentationfor yFiles for HTML 2.6

Usages of PortDirections

Properties

directionin PortCandidateGets the direction of this PortCandidate.

Method Return Values

getDirectionForLayoutOrientation (LayoutOrientation)in PortCandidateReturns the direction of this PortCandidate instance with respect to the given layout orientation.
from (PortDirections)in PortDirectionsConverts the argument to PortDirections.

Method Parameters

findMatchingCandidate (Edge, boolean, number, number, PortDirections)in IPortCandidateMatcherReturns the next best matching IPortCandidateSetEntry for the given parameters.
findMatchingCandidate (Edge, boolean, PortDirections)in IPortCandidateMatcherReturns the next best matching IPortCandidateSetEntry for the given parameters.
createCandidate (PortDirections, number?)in PortCandidateFactory method that creates a free PortCandidate instance with the given direction and cost of usage.
createCandidate (number, number, PortDirections, number?)in PortCandidateFactory method that creates a fixed PortCandidate instance with the given cost of usage, direction and offset values.
isInDirection (PortDirections)in PortCandidateReturns whether or not this PortCandidate lies in the given direction.
from (PortDirections)in PortDirectionsConverts the argument to PortDirections.