documentationfor yFiles for HTML 2.6

Usages of YList

Properties

sameLayerEdgesin ILayerGets a list of all same-layer Edges associated with this ILayer instance.

Method Return Values

calcConvexHull (YList)in GeomCalculates the convex hull for a set of points.
kShortestPaths (Graph, IDataProvider, YNode, YNode, number)in ShortestPathAlgorithmThis method finds the k shortest paths connecting a pair of nodes in a directed graph with non-negative edge costs.
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in DiscreteEdgeLabelLayoutModel
getLabelCandidates (INodeLabelLayout, INodeLayout)in DiscreteNodeLabelLayoutModel
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in FreeEdgeLabelLayoutModelReturns the EdgeLabelCandidate that describes the current label position.
getLabelCandidates (INodeLabelLayout, INodeLayout)in FreeNodeLabelLayoutModelReturns the NodeLabelCandidate that describes the current label position.
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in IEdgeLabelLayoutModelReturns all EdgeLabelCandidates that describe valid label positions within this model.
getLabelCandidates (INodeLabelLayout, INodeLayout)in INodeLabelLayoutModelReturns all NodeLabelCandidates that describe valid label positions within this model.
getPathList (Edge)in LayoutGraphReturns the path of an edge, including the ports.
getPointList (Edge)in LayoutGraphReturns the control points of an edge.
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in SliderEdgeLabelLayoutModelReturns all EdgeLabelCandidates that describe valid label positions within this model.
calculatePathPoints ()in EdgeInfoCalculates a list of YPoints containing the source port, bend and target port locations.

Method Parameters

calcConvexHull (YList)in GeomCalculates the convex hull for a set of points.
intersect (YList, IIntersectionHandler)in IntersectionAlgorithmCalculates the intersections of rectangles in the plane.
triangulatePoints (YList, Graph, INodeMap, IEdgeMap)in TriangulationAlgorithmComputes a triangulation of the given points.
splice (YList)in YListTransfers the contents of the given list to the end of this list.
setNodeOrder (YList)in ILayerAdjusts the order of the YNodes of this ILayer instance according to the given order.
calculateSelfLoops (LayoutGraph, YNode, YList, IDataProvider, IDataProvider)in SelfLoopCalculatorConvenience method that calculates a list of self-loops that belong to a given node.
label (LayoutGraph, YList, YList)in LabelingBasePlaces the labels of the input graph restricting the placement to labels contained in the given lists.
setPath (Edge, YList)in LayoutGraphSets the path of the given edge.
setPoints (Edge, YList)in LayoutGraphSets the control points of the given edge.
createConnectorNode (LayoutContext, YList, Object)in DefaultElementFactory
createConnectorNode (LayoutContext, YList, Object)in IElementFactoryCallback method for creating a node of type CONNECTOR.
removeConnectorPair (YNode, YNode, YList, LayoutContext)in MultiPageLayoutThis method is called during a postprocessing step that reduces the number of connectors.
createSegmentInfoComparer (YList, PathSearchResult, PathSearchConfiguration)in ChannelBasedPathRoutingCreates a comparator for sorting the SegmentInfos in a Channel from left to right (for vertical segments) or top to bottom (for horizontal segments), respectively.
calculateBendCost (Edge, YList, PortCandidate, PortCandidate)in OrthogonalPatternEdgeRouterCalculates the costs for all bends of the given path.
calculateCost (Edge, YList, PortCandidate, PortCandidate)in OrthogonalPatternEdgeRouterCalculates the edge cost of a possible edge path, in order to determine which path is the best, i.e., the cheapest.
calculateCrossingCosts (Edge, YList, PortCandidate, PortCandidate)in OrthogonalPatternEdgeRouterCalculates the overall crossing costs of the given path, including edge crossings, edge overlaps and node crossings.
calculateEdgeLength (Edge, YList, PortCandidate, PortCandidate)in OrthogonalPatternEdgeRouterCalculates the costs for the length of the given path.
calculatePortCandidateCost (Edge, YList, PortCandidate, PortCandidate)in OrthogonalPatternEdgeRouterCalculates the costs for the chosen PortCandidates.
calculateSelfLoopSelfSidePenaltyCost (Edge, YList, PortCandidate, PortCandidate)in OrthogonalPatternEdgeRouterCalculates the extra penalty that is added to the path's cost if the edge is a self-loop and source and target ports have the same direction.

Extending Types

EdgeListSpecialized list implementation for instances of type Edge.
YNodeListSpecialized list implementation for instances of type YNode.