documentationfor yFiles for HTML 3.0.0.3

Usages of YList

Properties

edgesin SubstructureGets the edges that belong to this substructure.
interEdgesin SubstructureGets the edges connecting a node in the substructure with one outside of it.
nodesin SubstructureGets the nodes that belong to this substructure.
nodesin HierarchicalLayoutLayerGets a list of the LayoutNodes associated with this layer.
sameLayerEdgesin HierarchicalLayoutLayerGets a list of all same-layer LayoutEdges associated with this layer.
componentComparatorin MultiComponentLayerAssignerGets or sets the comparison function to sort the lists of nodes that form a component.

Method Return Values

insertEdge (LayoutEdge)in ItemFactoryInserts a same-layer LayoutEdge or an LayoutEdge that may span multiple layers into the data structure and returns the resulting list of LayoutEdges that has been created if this edge spans multiple layers, null otherwise.
findAndHideMultiEdges (LayoutGraph)in ParallelEdgeRouterHides all multi-edges only leaving one leading edge per group of multi-edges.

Method Parameters

splice (YList<T>)in YListTransfers the contents of the given list to the end of this list.
setNodeOrder (YList<LayoutNode>)in HierarchicalLayoutLayerApplies the node order of the given list to the LayoutNodes on this layer.
MultiComponentLayerAssigner (ILayerAssigner, )in MultiComponentLayerAssignerCreates a new instance of MultiComponentLayerAssigner.
sort (YList<LayoutNode>, IMapper<LayoutNode,number>)in MultiComponentLayerAssignerSorts an array which consists of YList<T>s, where each list contains nodes that belong to the same component.
addedPathForEdge (LayoutGraph, LayoutEdge, YList<LayoutNode>)in BendSubstitutionStageAdds information to newly created proxy nodes.
createConnectorNode (MultiPageLayoutContext, YList<any>, any)in MultiPageElementFactoryCallback method for creating a node of type CONNECTOR.
hideMultiEdges (YList<LayoutEdge>, LayoutGraph)in ParallelEdgeRouterHides and stores the given list of multi-edges.
routeEdges (LayoutGraph, IMapper<LayoutEdge,YList<LayoutEdge>>)in ParallelEdgeRouterRoutes all the multi-edges.