documentationfor yFiles for HTML 3.0.0.3

Usages of PortSides

Properties

sidein LayoutPortCandidateGets the side of this candidate.

Method Return Values

getSideForFlow (Direction)in LayoutPortCandidateReturns the side of this candidate where the sides relative to the flow are replaced by absolute sides.
from (PortSides)in PortSidesConverts the given argument to an enum constant of this enum type.

Method Parameters

addFixedCandidate (PortSides, Point?, number?, any?)in EdgePortCandidatesAdds a fixed LayoutPortCandidate at a specific position.
addFreeCandidate (PortSides, number?, any?)in EdgePortCandidatesAdds a free LayoutPortCandidate.
createFixed (PortSides, Point?, number?, number?, any?)in LayoutPortCandidateFactory method that creates a fixed port candidate with the given side, offset, and cost of usage.
createFree (PortSides, number?, number?, any?)in LayoutPortCandidateFactory method that creates a free port candidate instance with the given side and cost of usage.
isOnSide (PortSides)in LayoutPortCandidateReturns whether this candidate lies on the given side.
isOnSide (PortSides, Direction)in LayoutPortCandidateReturns whether this candidate lies on the given side after resolving the sides relative to the flow direction.
addFixedCandidate (PortSides, Point, number?, number?, any?)in NodePortCandidatesAdds a fixed LayoutPortCandidate at a specific position.
addFreeCandidate (PortSides, number?, number?, any?)in NodePortCandidatesAdds a free LayoutPortCandidate.
from (PortSides)in PortSidesConverts the given argument to an enum constant of this enum type.
getName (PortSides)in PortSidesReturns the name of the given enum constant.