documentationfor yFiles for HTML 2.6

Method Return Values

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.
findMatchingCandidate ()in IPortCandidateMatcherReturns the next best matching IPortCandidateSetEntry.

Method Parameters

getCost (IPortCandidateSetEntry, Edge, boolean, number, number)in PortCandidateSetCalculates the penalty cost for the usage of the given entry and the given parameters.
getPriority (IPortCandidateSetEntry, Edge, boolean)in PortCandidateSetCalculates the priority of the given entry.
remove (IPortCandidateSetEntry)in PortCandidateSetRemoves the given entry from the list of candidate entries.