documentationfor yFiles for HTML 3.0.0.3

Usages of LayoutEdge

Properties

associatedEdgein DartGets the edge associated with this dart.
edgesin SubstructureGets the edges that belong to this substructure.
interEdgesin SubstructureGets the edges connecting a node in the substructure with one outside of it.
associatedEdgein HierarchicalLayoutEdgeContextGets the LayoutEdge associated with this HierarchicalLayoutEdgeContext instance.
sameLayerEdgesin HierarchicalLayoutLayerGets a list of all same-layer LayoutEdges associated with this layer.
associatedEdgein HierarchicalLayoutNodeContextGets the associated LayoutEdge of the LayoutNode of this HierarchicalLayoutNodeContext instance (for example when the node itself is a bend or same-layer center node).
firstSameLayerEdgeCellin HierarchicalLayoutNodeContextGets the first same-layer edge ListCell<T> of all same-layer edges or null if there exists no same-layer edge.
ownerin EdgePathPointGets the LayoutEdge to which this path point belongs.
ownerin LayoutBendGets the LayoutEdge that owns this bend.
ownerin LayoutEdgeLabelGets the edge to which this label belongs.
edgesin LayoutGraphProvides a dynamic IEnumerable<T> for LayoutEdges, allowing iteration over the edges contained in this instance.
hiddenEdgesin LayoutGraphHiderGets the collection of edges that are currently hidden.
edgesin LayoutNodeProvides access to all edges adjacent to this node.
inEdgesin LayoutNodeProvides access to the incoming edges connected to this node.
outEdgesin LayoutNodeProvides access to the outgoing edges connected to this node.
edgesin SubgraphComponentGets the edges of the component.
currentEdgein PathSearchContextGets or sets the edge that is currently routed.
edgesin PathSearchContextGets the ICursor<T> of LayoutEdge to iterate over the edges that are routed.

Method Return Values

addTransitiveEdges (LayoutGraph, boolean, function(LayoutNode):boolean)in LayoutGraphAlgorithmsCreates transitive edges that connect the visible nodes in the specified graph.
allPathEdges (LayoutGraph, LayoutNode, LayoutNode)in LayoutGraphAlgorithmsComputes all edges that belong to any directed path from a source node to a sink node.
applyTransitiveClosure (LayoutGraph)in LayoutGraphAlgorithmsComputes the transitive closure and adds necessary transitive edges to a directed acyclic graph.
applyTransitiveReduction (LayoutGraph)in LayoutGraphAlgorithmsComputes the transitive reduction for a directed acyclic graph.
biconnectedComponents (LayoutGraph, IMapper<LayoutEdge,number>?, IMapper<LayoutNode,boolean>?)in LayoutGraphAlgorithmsCalculates the biconnected components and articulation points of the specified undirected graph, and returns the biconnected components.
delaunayTriangulation (LayoutGraph, IMapper<LayoutNode,Point>, IMapper<LayoutEdge,LayoutEdge>)in LayoutGraphAlgorithmsComputes a Delaunay triangulation of the given points.
edgeBetweenness (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the betweenness centrality for each edge in the specified graph.
findAllCycleEdges (LayoutGraph, boolean)in LayoutGraphAlgorithmsReturns an IEnumerable<Edge> that contains all the edges that are part of at least one directed or undirected simple cycle in the given graph.
findCycle (LayoutGraph, boolean)in LayoutGraphAlgorithmsReturns an IEnumerable<Edge> that contains the edges of a cycle found in the given graph.
findMultiEdges (LayoutGraph, boolean, LayoutNode?)in LayoutGraphAlgorithmsFinds and returns the multi-edges in the specified graph or incident to a specific node.
findTreeEdges (LayoutGraph, IEnumerable<IEnumerable<LayoutNode>>?)in LayoutGraphAlgorithmsRetrieves an array of IEnumerable<T> collections, where each collection contains the edges belonging to a maximal directed subtree of the specified graph.
longestPath (LayoutGraph, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the longest directed path in a given acyclic weighted graph.
longPath (LayoutGraph)in LayoutGraphAlgorithmsComputes the edges of a heuristically long, undirected, simple path within the given graph.
makeBiconnected (LayoutGraph)in LayoutGraphAlgorithmsMakes the given graph biconnected by inserting the minimum number of edges required.
makeConnected (LayoutGraph)in LayoutGraphAlgorithmsModifies the specified graph by adding additional edges to make it fully connected.
makeTreeDirected (LayoutGraph, LayoutNode?)in LayoutGraphAlgorithmsConverts the specified undirected tree into a directed rooted tree with the given node as the root by reversing necessary edges.
minimumSpanningTree (LayoutGraph, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsCalculates the minimum spanning tree (MST) for the given undirected connected graph.
shortestPath (LayoutGraph, LayoutNode, LayoutNode, boolean?, IMapper<LayoutEdge,number>?, IMapper<LayoutNode,number>?)in LayoutGraphAlgorithmsComputes the shortest path from a single source node to a single sink node in a graph.
createLayoutData (LayoutGraph)in CircularLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the CircularLayout.
createLayoutData (LayoutGraph)in CompactDiskLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the CompactDiskLayout.
createLayoutData (LayoutGraph)in HierarchicalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the HierarchicalLayout.
getOriginalEdge (LayoutEdge, HierarchicalLayoutContext)in HierarchicalLayoutReturns the corresponding original edge instance for a given edge.
createEdgeGroupingConnectorEdge (LayoutNode, LayoutNode, LayoutEdge)in ItemFactoryCreates a connector edge between two edge group helper nodes (createEdgeGroupNode).
createGroupBorderEdge (LayoutNode, LayoutNode)in ItemFactoryCreates a helper edge of type BORDER_EDGE that connects the two given group border nodes.
createHelperEdge (LayoutNode, LayoutNode, LayoutEdge, boolean, boolean, boolean?, boolean?)in ItemFactoryCreates a helper LayoutEdge for the HierarchicalLayout, using context information of the given old edge.
createSameLayerProxyEdge (HierarchicalLayoutLayer, LayoutEdge, LayoutNode)in ItemFactoryCreates a same-layer edge proxy connecting a newly created proxy node and a given proxy LayoutNode in the given layer.
destroySameLayerProxyEdge (LayoutEdge)in ItemFactoryDestroys a same-layer LayoutEdge proxy created using createSameLayerProxyEdge, also removing the proxy node that was created in that method call.
destroySameLayerSwitchProxy (LayoutNode)in ItemFactoryDestroys a same-layer switch proxy LayoutNode created using createSameLayerSwitchProxy.
destroySideProxyNode (LayoutNode)in ItemFactoryDestroys a side proxy LayoutNode created using createSideProxyNode for the drawing phase.
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.
getOriginalEdge (LayoutNode)in PortCandidateSelectorSameLayerDataReturns the original (same-layer) edge associated with the given helper LayoutNode.
createLayoutData (LayoutGraph)in GenericLabelingReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GenericLabeling.
createLayoutData (LayoutGraph)in AlignmentStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the AlignmentStage.
createLayoutData (LayoutGraph)in BendSubstitutionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the BendSubstitutionStage.
createLayoutData (LayoutGraph)in ComponentLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the ComponentLayout.
createLayoutData (LayoutGraph)in CurveFittingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the CurveFittingStage.
createLayoutData (LayoutGraph)in GenericLayoutGridStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GenericLayoutGridStage.
createLayoutData (LayoutGraph)in GivenCoordinatesLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GivenCoordinatesLayout.
createLayoutData (LayoutGraph)in LayoutAnchoringStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the LayoutAnchoringStage.
createCompositeLayoutData (LayoutData<LayoutNode,LayoutEdge,LayoutNodeLabel,LayoutEdgeLabel>)in LayoutGraphReturns an instance of CompositeLayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that combines the given instances of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel>.
createEdge (LayoutNode, LayoutNode, LayoutEdge?, RelativePosition?, LayoutEdge?, RelativePosition?)in LayoutGraphCreates a new edge between the specified source and target nodes.
createEdgeDataMap (TValue?)in LayoutGraphCreates a new IMapper<K,V> that is valid for the edges in this graph.
createGenericLayoutData ()in LayoutGraphReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to easily associate custom item-specific data with a LayoutGraph.
getEdgesBetween (LayoutNode, LayoutNode, boolean?)in LayoutGraphReturns the edges between the specified source and target nodes.
getLayoutEdge (IEdge)in LayoutGraphAdapterReturns the layout graph edge that corresponds to the given original edge.
addItemConstantData (EdgeDataKey<TValue>, TValue)in LayoutGraphContextRegisters a constant value for all edges at the graph with the specified data key.
addItemData (EdgeDataKey<TValue>, function(LayoutEdge):TValue, function(LayoutEdge, TValue):void?)in LayoutGraphContextRegisters data for individual edges at the graph with the specified EdgeDataKey<TValue>.
getItemData (EdgeDataKey<TValue>)in LayoutGraphContextGets data for individual edges registered for the graph with the specified EdgeDataKey<TValue>.
getCopiedEdge (LayoutEdge)in LayoutGraphCopyDataReturns the copied edge that corresponds to the specified original edge.
getOriginalEdge (LayoutEdge)in LayoutGraphCopyDataReturns the original edge that corresponds to the specified copied edge.
createLayoutData (LayoutGraph)in PlaceNodesAtBarycenterStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the PlaceNodesAtBarycenterStage.
createLayoutData (LayoutGraph)in PortPlacementStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the PortPlacementStage.
createLayoutData (LayoutGraph)in RadialGroupLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialGroupLayout.
createLayoutData (LayoutGraph)in RecursiveGroupLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RecursiveGroupLayout.
createLayoutData (LayoutGraph)in RemoveOverlapsStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RemoveOverlapsStage.
createCopiedEdgeList (IEnumerable<IEdge>)in StructureGraphAdapterCreates an IEnumerable<T> of copied LayoutEdge instances by mapping the provided original IEdge instances from the originalGraph to their corresponding originals in the structureGraph.
createOriginalToCopiedEdgeWrapper (IMapper<IEdge,TValue>)in StructureGraphAdapterCreates an IMapper<K,V> that delegates its operations to the provided IMapper<K,V> for items within the context of the structureGraph, but translates requests so they can be made using the corresponding copied edges.
getCopiedEdge (IEdge)in StructureGraphAdapterRetrieves the copied edge from the structureGraph that corresponds to the specified original edge.
createLayoutData (LayoutGraph)in SubgraphLayoutStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the SubgraphLayoutStage.
createLayoutData (LayoutGraph)in TabularLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TabularLayout.
createLayoutData (LayoutGraph)in TemporaryGroupInsertionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TemporaryGroupInsertionStage.
createConnectorEdge (MultiPageLayoutContext, LayoutNode, LayoutNode, any, boolean)in MultiPageElementFactoryCallback method for creating an edge of type CONNECTOR.
createProxyEdge (MultiPageLayoutContext, LayoutNode, LayoutNode, any, any)in MultiPageElementFactoryCallback method for creating an edge of type PROXY.
createProxyReferenceEdge (MultiPageLayoutContext, LayoutNode, LayoutNode, any)in MultiPageElementFactoryCallback method for creating an edge of type PROXY_REFERENCE.
createLayoutData (LayoutGraph)in MultiPageLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the MultiPageLayout.
getPageEdge (any)in MultiPageLayoutContextReturns the edge of a page graph (a graph that represents the result of the multi-page layout) with the given ID or null if there is no such edge.
getRepresentedEdge (LayoutEdge)in MultiPageLayoutContextGets the original edge associated with this info.
createLayoutData (LayoutGraph)in OrganicLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrganicLayout.
createLayoutData (LayoutGraph)in OrthogonalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrthogonalLayout.
createLayoutData (LayoutGraph)in ClearAreaLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the ClearAreaLayout.
createLayoutData (LayoutGraph)in FillAreaLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the FillAreaLayout.
createLayoutData (LayoutGraph)in PartialLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the PartialLayout.
createLayoutData (LayoutGraph)in RadialLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialLayout.
createLayoutData (LayoutGraph)in CurveRoutingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the CurveRoutingStage.
createLayoutData (LayoutGraph)in EdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the EdgeRouter.
createLayoutData (LayoutGraph)in OctilinearRoutingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the OctilinearRoutingStage.
createLayoutData (LayoutGraph)in OrganicEdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrganicEdgeRouter.
findAndHideMultiEdges (LayoutGraph)in ParallelEdgeRouterHides all multi-edges only leaving one leading edge per group of multi-edges.
createLayoutData (LayoutGraph)in SelfLoopRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the SelfLoopRouter.
createLayoutData (LayoutGraph)in StraightLineEdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the StraightLineEdgeRouter.
createLayoutData (LayoutGraph)in SeriesParallelLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the SeriesParallelLayout.
createFromSketchComparator ()in AspectRatioSubtreePlacerCreates an edge comparison function which takes the initial coordinates of the nodes into account.
createFromSketchComparator ()in AssistantSubtreePlacerCreates an edge comparison which takes the initial coordinates of the nodes into account.
createFromSketchComparator ()in DendrogramSubtreePlacerCreates a comparison that sorts outgoing edges according to the x-coordinate of their target nodes.
createFromSketchComparator ()in DoubleLayerSubtreePlacer
createFromSketchComparator ()in FixedSubtreePlacer
createFromSketchComparator ()in IFromSketchSubtreePlacerCreates an edge comparison which takes the initial coordinates of the nodes into account.
createFromSketchComparator ()in LeftRightSubtreePlacer
createFromSketchComparator ()in LevelAlignedSubtreePlacer
createFromSketchComparator ()in MultiLayerSubtreePlacerCreates a comparison that sorts the outgoing edges according to the rows and x-coordinates of their target nodes.
createLayoutData (LayoutGraph)in RadialTreeLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialTreeLayout.
createFromSketchComparator ()in SingleLayerSubtreePlacerCreates a comparison for outgoing edges which takes the initial coordinates of the edges' targets into account.
createLayoutData (LayoutGraph)in TreeLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeLayout.
createLayoutData (LayoutGraph)in TreeMapLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeMapLayout.
createLayoutData (LayoutGraph)in TreeReductionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeReductionStage.

Method Parameters

allPairsShortestPath (LayoutGraph, boolean, IMapper<LayoutEdge,number>)in LayoutGraphAlgorithmsComputes the shortest paths between all pairs of nodes in a graph with arbitrary edge costs.
allPaths (LayoutGraph, LayoutNode, LayoutNode, boolean, function(IList<LayoutEdge>):boolean?)in LayoutGraphAlgorithmsReturns all simple directed or undirected paths between two given nodes as a special cursor that calculates the next path in the sequence, only when needed.
allUnweightedShortestPaths (LayoutGraph, LayoutNode, IEnumerable<LayoutNode>, boolean, IEnumerable<LayoutEdge>, IEnumerable<LayoutNode>, number?)in LayoutGraphAlgorithmsComputes all nodes and edges that belong to the shortest path from a specified source node to a set of sinks in the graph, ensuring the path does not exceed a given distance.
biconnectedComponents (LayoutGraph, IMapper<LayoutEdge,number>?, IMapper<LayoutNode,boolean>?)in LayoutGraphAlgorithmsCalculates the biconnected components and articulation points of the specified undirected graph, and returns the biconnected components.
chainSubstructures (LayoutGraph, number, IMapper<LayoutNode,any>?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsIdentifies and returns a collection of Substructure instances representing the chains within the specified graph that contain at least minimumSize nodes.
closenessCentrality (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the closeness centrality for each node in the specified graph.
cycleSubstructures (LayoutGraph, number, IMapper<LayoutNode,any>?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsIdentifies and returns a collection of Substructure instances representing the cycles within the specified graph that contain at least minimumSize nodes.
delaunayTriangulation (LayoutGraph, IMapper<LayoutNode,Point>, IMapper<LayoutEdge,LayoutEdge>)in LayoutGraphAlgorithmsComputes a Delaunay triangulation of the given points.
dfs (LayoutGraph, LayoutNode, boolean?, boolean?, function(LayoutNode, number):void?, function(LayoutNode, number, number):void?, function(LayoutEdge, LayoutNode, boolean):void?, function(LayoutEdge, LayoutNode):void?, function(LayoutNode):void?)in LayoutGraphAlgorithmsExecutes a depth-first search (DFS) on the specified graph starting from the given node.
diameter (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the diameter of the specified graph.
edgeBetweenness (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the betweenness centrality for each edge in the specified graph.
edgeBetweennessClustering (LayoutGraph, IMapper<LayoutNode,number>, boolean, number, number, IMapper<LayoutEdge,number>)in LayoutGraphAlgorithmsPartitions the graph into clusters using edge betweenness centrality.
findCycleEdges (LayoutGraph, IMapper<LayoutEdge,boolean>, IMapper<LayoutEdge,number>?, boolean?)in LayoutGraphAlgorithmsIdentifies and marks the edges of a given graph whose removal or reversal would transform the graph into an acyclic structure, while attempting to minimize the associated costs of the marked edges.
findCycleEdgesDfs (LayoutGraph, IMapper<LayoutEdge,boolean>)in LayoutGraphAlgorithmsIdentifies and marks the edges of a given graph whose removal or reversal would render the graph acyclic, utilizing a depth-first search (DFS) approach.
graphCentrality (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the graph centrality for each node in the specified graph.
kShortestPaths (LayoutGraph, IMapper<LayoutEdge,number>, LayoutNode, LayoutNode, number, boolean?)in LayoutGraphAlgorithmsComputes the k shortest paths connecting a pair of nodes in a directed graph with non-negative edge costs.
labelPropagation (LayoutGraph, IMapper<LayoutNode,number>, IMapper<LayoutNode,number>?, IMapper<LayoutNode,number>?, IMapper<LayoutEdge,number>?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsDetects communities in the specified input graph using the label propagation algorithm.
longestPath (LayoutGraph, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the longest directed path in a given acyclic weighted graph.
longestPaths (LayoutGraph, LayoutNode, IMapper<LayoutEdge,number>)in LayoutGraphAlgorithmsCalculates the longest path from a given node to all other nodes in a given directed acyclic graph.
louvainModularity (LayoutGraph, IMapper<LayoutNode,number>, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsFinds communities in the specified input graph using the Louvain modularity method.
maximumFlow (LayoutGraph, LayoutNode, LayoutNode, IMapper<LayoutEdge,number>, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsSolves a maximum flow problem using the preflow-push algorithm.
maximumFlowMinimumCut (LayoutGraph, LayoutNode, LayoutNode, IMapper<LayoutEdge,number>, IMapper<LayoutEdge,number>?, IMapper<LayoutNode,boolean>?)in LayoutGraphAlgorithmsSolves a maximum flow problem using the preflow-push algorithm and identifies the minimum cut set.
minimumCostFlow (LayoutGraph, IMapper<LayoutEdge,number>, IMapper<LayoutEdge,number>, IMapper<LayoutNode,number>, IMapper<LayoutEdge,number>?, IMapper<LayoutNode,number>?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsSolves a minimum cost flow problem using a capacity scaling algorithm.
minimumSpanningTree (LayoutGraph, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsCalculates the minimum spanning tree (MST) for the given undirected connected graph.
modularity (LayoutGraph, IMapper<LayoutNode,number>, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the modularity of a given graph based on the provided community partition.
nodeBetweenness (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the betweenness centrality for each node in the specified graph.
nodeEdgeBetweenness (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the betweenness centrality for each node and edge in the specified graph.
pageRank (LayoutGraph, IMapper<LayoutNode,number>, IMapper<LayoutNode,number>?, IMapper<LayoutNode,number>?, IMapper<LayoutEdge,number>?, IMapper<LayoutEdge,number>?, number?, number?)in LayoutGraphAlgorithmsComputes the PageRank values for all nodes in the specified graph based on their attached edges.
shortestPath (LayoutGraph, LayoutNode, LayoutNode, boolean?, IMapper<LayoutEdge,number>?, IMapper<LayoutNode,number>?)in LayoutGraphAlgorithmsComputes the shortest path from a single source node to a single sink node in a graph.
simplexRankAssignment (LayoutGraph, IMapper<LayoutNode,number>, IMapper<LayoutEdge,number>, IMapper<LayoutEdge,number>, TimeSpan?, IMapper<LayoutEdge,boolean>?, LayoutNode?, boolean?)in LayoutGraphAlgorithmsSolves the rank assignment problem for a directed acyclic graph (DAG) using the simplex method, with an optional time limit for the algorithm's execution.
singleSourceShortestPath (LayoutGraph, LayoutNode, boolean?, IMapper<LayoutEdge,number>?, IMapper<LayoutNode,number>?, IMapper<LayoutNode,yfiles.layout.LayoutEdge|null>?)in LayoutGraphAlgorithmsComputes the shortest path distances from a single source node to all other nodes in a graph.
starSubstructures (LayoutGraph, number, IMapper<LayoutNode,any>?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsIdentifies and returns a collection of Substructure instances representing the star structures within the specified graph that contain at least minimumSize nodes.
stOrder (LayoutGraph, LayoutEdge?)in LayoutGraphAlgorithmsAssigns an st-ordering to the nodes of a biconnected graph, given an edge between the source node s and the sink node t.
treeSubstructures (LayoutGraph, number, IMapper<LayoutNode,any>?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsIdentifies and returns a collection of Substructure instances representing the trees within the specified graph that contain at least minimumSize nodes.
weightCentrality (LayoutGraph, boolean?, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the weight centrality for the nodes in the specified graph.
getDarts (LayoutEdge)in PlanarEmbeddingReturns the two darts associated with the given edge.
getCrossingCost (LayoutEdge, LayoutEdge, HierarchicalLayoutContext)in DefaultSequencerReturns the cost of an edge crossing between the two given edges.
getOriginalEdge (LayoutEdge, HierarchicalLayoutContext)in HierarchicalLayoutReturns the corresponding original edge instance for a given edge.
getEdgeContext (LayoutEdge)in HierarchicalLayoutContextReturns the HierarchicalLayoutEdgeContext instance associated with the given LayoutEdge.
addSameLayerEdge (LayoutEdge)in HierarchicalLayoutLayerAdds a same-layer LayoutEdge to this layer.
createBendNode (LayoutEdge, HierarchicalLayoutLayer?, LayoutGridColumn?, boolean?)in ItemFactoryCreates a bend LayoutNode for the given LayoutEdge in the given layer and assigns it to the given LayoutGridColumn.
createConnectorProxyForGroup (LayoutNode, HierarchicalLayoutLayer, LayoutEdge, boolean?)in ItemFactoryCreates a helper LayoutNode that mimics a connector to a group LayoutNode.
createEdgeGroupingConnectorEdge (LayoutNode, LayoutNode, LayoutEdge)in ItemFactoryCreates a connector edge between two edge group helper nodes (createEdgeGroupNode).
createGroupedEdgeContext (LayoutEdge, any, any)in ItemFactoryCreates a HierarchicalLayoutEdgeContext instance that specifies grouping IDs and associates it with the given edge.
createHelperEdge (LayoutNode, LayoutNode, LayoutEdge, boolean, boolean, boolean?, boolean?)in ItemFactoryCreates a helper LayoutEdge for the HierarchicalLayout, using context information of the given old edge.
createNormalEdgeContext (LayoutEdge)in ItemFactoryCreates a HierarchicalLayoutEdgeContext instance for a given normal LayoutEdge and associates it with the edge.
createSameLayerProxyEdge (HierarchicalLayoutLayer, LayoutEdge, LayoutNode)in ItemFactoryCreates a same-layer edge proxy connecting a newly created proxy node and a given proxy LayoutNode in the given layer.
createSameLayerSideProxy (HierarchicalLayoutLayer, LayoutNode, LayoutEdge, LayoutGridColumn?)in ItemFactoryCreates a side proxy node (SAME_LAYER_SIDE_PROXY) for a same-layer edge during the drawing phase that ends at the side of a node.
createSameLayerSwitchProxy (HierarchicalLayoutLayer, LayoutEdge)in ItemFactoryCreates a same-layer switch proxy LayoutNode (switching between two same-layer LayoutEdges on two different sides of the layer); the new node will be of type SAME_LAYER_CENTER_NODE.
createSideProxyNode (LayoutEdge, boolean, LayoutGridColumn?)in ItemFactoryCreates a side proxy LayoutNode (SIDE_PROXY) for an edge during the drawing phase, changing the LayoutEdge to end/start at the new proxy and assigns it to a LayoutGridColumn instance.
destroySameLayerProxyEdge (LayoutEdge)in ItemFactoryDestroys a same-layer LayoutEdge proxy created using createSameLayerProxyEdge, also removing the proxy node that was created in that method call.
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.
registerSameLayerEdge (LayoutEdge)in ItemFactoryRegisters an LayoutEdge as a same-layer LayoutEdge appropriately into all data structures.
setDirectlyConnectSameLayerEdge (LayoutEdge)in ItemFactoryConverts a same-layer LayoutEdge to an LayoutEdge of type DIRECT_SAME_LAYER_EDGE.
selectAfterSequencingAtNode (LayoutNode, function(LayoutEdge, LayoutEdge):number, function(LayoutEdge, LayoutEdge):number, LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelectorAssigns new temporary port constraints to a given node of the graph after the order of the nodes in each layer has been determined.
selectAfterSequencingWithOrders (function(LayoutEdge, LayoutEdge):number, function(LayoutEdge, LayoutEdge):number, LayoutGraph, HierarchicalLayoutContext)in PortCandidateSelectorAssigns new temporary port constraints after the order of the nodes in each layer has been determined.
addHelperNode (LayoutNode, LayoutEdge)in PortCandidateSelectorSameLayerDataAdds a given helper LayoutNode to this PortCandidateSelectorSameLayerData instance and associates it with the given original (same-layer) LayoutEdge.
getWeight (LayoutEdge)in WeightedLayerAssignerReturns the edge weight of the given edge using the weight based cycle removal heuristic.
addedPathForEdge (LayoutGraph, LayoutEdge, YList<LayoutNode>)in BendSubstitutionStageAdds information to newly created proxy nodes.
routeInterEdges (LayoutGraph, IEnumerable<LayoutEdge>)in ComponentLayoutReroutes the given inter-edges using the current edge routing algorithm.
addLayoutData (LayoutData<LayoutNode,LayoutEdge,LayoutNodeLabel,LayoutEdgeLabel>)in ContextModificationStageAdds the specified layout data to be temporarily applied by this stage.
addReplacementMap (EdgeDataKey<T>, IMapper<LayoutEdge,T>)in ContextModificationStageAdds the specified key to the data keys whose associated data is temporarily replaced by this stage.
getReference (LayoutEdge, LayoutAnchoringPolicy)in LayoutAnchoringStageGets the reference bounds for an edge based on the specified LayoutAnchoringPolicy.
addBend (LayoutEdge, number, number, LayoutBend?, RelativePosition?)in LayoutGraphCreates a new bend point for the given edge with the specified coordinates.
addLabel (LayoutEdge, number, number)in LayoutGraphCreates a new label for the specified edge with the given dimensions.
addLabel (LayoutEdge, IOrientedRectangle)in LayoutGraphCreates a new label for the specified edge with the given layout.
applyLayout (ILayoutAlgorithm, LayoutData<LayoutNode,LayoutEdge,LayoutNodeLabel,LayoutEdgeLabel>?)in LayoutGraphRuns an ILayoutAlgorithm synchronously on the given LayoutGraph, applying the given layoutData.
changeEdge (LayoutEdge, LayoutNode, LayoutNode, LayoutEdge?, RelativePosition?, LayoutEdge?, RelativePosition?)in LayoutGraphRedefines the endpoints of the specified edge, changing its source and target nodes.
contains (LayoutEdge)in LayoutGraphDetermines whether this graph contains the specified edge.
createCompositeLayoutData (LayoutData<LayoutNode,LayoutEdge,LayoutNodeLabel,LayoutEdgeLabel>)in LayoutGraphReturns an instance of CompositeLayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that combines the given instances of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel>.
createCopy (LayoutGraph, IEnumerable<LayoutNode>?, IEnumerable<LayoutEdge>?, boolean?)in LayoutGraphCreates a new LayoutGraph as a (partial) copy of the specified graph.
createEdge (LayoutNode, LayoutNode, LayoutEdge?, RelativePosition?, LayoutEdge?, RelativePosition?)in LayoutGraphCreates a new edge between the specified source and target nodes.
disposeEdgeDataMap (IMapper<LayoutEdge,TValue>)in LayoutGraphInforms the graph that the specified IMapper<K,V> is no longer needed.
getBounds (IEnumerable<LayoutNode>?, IEnumerable<LayoutEdge>?, boolean?, boolean?, boolean?)in LayoutGraphReturns the bounds of the graph, optionally considering the specified nodes and edges, including node labels, edge labels, or node margins.
reinsert (LayoutEdge)in LayoutGraphReinserts a previously removed edge back into this graph.
remove (LayoutEdge)in LayoutGraphRemoves the specified edge from this graph.
reverseEdge (LayoutEdge)in LayoutGraphReverses the specified edge.
sortEdges (function(LayoutEdge, LayoutEdge):number)in LayoutGraphSorts the list of LayoutEdge objects in this graph.
sortEdges (function(LayoutEdge, LayoutEdge):number, function(LayoutEdge, LayoutEdge):number)in LayoutGraphSorts incoming and outgoing edges at each node of the graph.
getOriginalEdge (LayoutEdge)in LayoutGraphAdapterReturns the original edge that corresponds to the given layout graph edge.
addItemData (EdgeDataKey<TValue>, IMapper<LayoutEdge,TValue>)in LayoutGraphContextRegisters data for individual edges at the graph with the specified EdgeDataKey<TValue>.
addItemData (EdgeDataKey<TValue>, function(LayoutEdge):TValue, function(LayoutEdge, TValue):void?)in LayoutGraphContextRegisters data for individual edges at the graph with the specified EdgeDataKey<TValue>.
pushLayer (LayoutData<LayoutNode,LayoutEdge,LayoutNodeLabel,LayoutEdgeLabel>?)in LayoutGraphContextPushes a new layer onto the context, optionally applying layout data.
getCopiedEdge (LayoutEdge)in LayoutGraphCopyDataReturns the copied edge that corresponds to the specified original edge.
getOriginalEdge (LayoutEdge)in LayoutGraphCopyDataReturns the original edge that corresponds to the specified copied edge.
isNormalEdge (LayoutEdge)in LayoutGraphGroupingDetermines whether the given edge is a normal edge, as opposed to an edge that crosses any group node boundaries.
hide (LayoutEdge)in LayoutGraphHiderHides the specified edge.
hideEdges (IEnumerable<LayoutEdge>)in LayoutGraphHiderHides the specified collection of edges.
unhide (LayoutEdge)in LayoutGraphHiderUnhides the specified edge.
unhideEdges (IEnumerable<LayoutEdge>)in LayoutGraphHiderUnhides the specified collection of edges.
sortInEdges (function(LayoutEdge, LayoutEdge):number)in LayoutNodeSorts the incoming edges at this node according to the specified comparison function.
sortOutEdges (function(LayoutEdge, LayoutEdge):number)in LayoutNodeSorts the outgoing edges at this node according to the specified comparison function.
routeInterEdges (LayoutGraph, IEnumerable<LayoutEdge>)in RecursiveGroupLayoutReroutes the given inter-edges using the current edge routing algorithm.
createCopiedToOriginalEdgeWrapper (IMapper<LayoutEdge,TValue>)in StructureGraphAdapterCreates an IMapper<K,V> that delegates its operations to the provided IMapper<K,V> for items within the context of the IGraph, but translates requests so they can be made using the corresponding original edges.
createOriginalEdgeList (IEnumerable<LayoutEdge>)in StructureGraphAdapterCreates an IEnumerable<T> of original IEdge instances by mapping the provided copied LayoutEdge instances from the structureGraph to their corresponding originals in the originalGraph.
getOriginalEdge (LayoutEdge)in StructureGraphAdapterRetrieves the original edge from the originalGraph that corresponds to the specified copied edge.
getEdgeId (LayoutEdge)in MultiPageLayoutContextGets the unique ID of the associated edge.
getEdgeType (LayoutEdge)in MultiPageLayoutContextGets the type of the associated edge.
getRepresentedEdge (LayoutEdge)in MultiPageLayoutContextGets the original edge associated with this info.
getOriginalItem (LayoutEdge, MultiPageLayoutResult)in MultiPageLayoutDataReturns an edge of the original input graph that corresponds to the provided edge of the LayoutGraph returned by the MultiPageLayout.
createAreaOutline (LayoutGraph, IEnumerable<LayoutNode>, IEnumerable<LayoutEdge>)in ClearAreaLayoutCreates the outline that describes the shape of the given nodes and edges.
routeEdgesBetweenFixedElements (LayoutGraph, IEnumerable<LayoutEdge>)in PartialLayoutThis method is called during the layout process and routes all partial edges that connect two fixed elements.
routeInterEdges (LayoutGraph, IEnumerable<LayoutEdge>)in PartialLayoutThis method is called during the layout process and routes all inter-edges.
getEdgeDescriptor (LayoutEdge)in EdgeRouterReturns the EdgeRouterEdgeDescriptor instance for a given edge that is defined via edgeDescriptors.
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.
routeEdgesParallel (LayoutEdge, LayoutEdge, number, boolean?, number?, number?)in ParallelEdgeRouterRoutes two edges which are incident to the same nodes in parallel, optionally joining the end points.
calculateSlopedSourceEdgeLayout (NodeLayout, SubtreeShape, LayoutEdge, number, number)in SingleLayerSubtreePlacerCalculates the routing of the source side of the edge to the given child node.
calculateSourceEdgeLayout (NodeLayout, SubtreeShape, LayoutEdge)in SingleLayerSubtreePlacerCalculates the routing of the source side of the edge to the given child node.
calculateTargetEdgeLayout (NodeLayout, SubtreeShape, LayoutEdge)in SingleLayerSubtreePlacerCalculates the routing of the target side of the edge to the given child node.
addEdgeSegments (LayoutGraph, LayoutEdge)in SubtreeShapeAdds all edge segments of the given edge to this SubtreeShape instance.
appendTargetPoints (LayoutEdge)in SubtreeShapeAppends all target points that have previously been added to this shape to the given LayoutEdge instance.
assignChildEdgeSourcePort (LayoutGraph, LayoutNode, LayoutEdge, number)in TreeLayoutPortAssignerAssigns relative coordinates to the source port of the outgoing edge to a child of the given node.
assignParentEdgeTargetPort (LayoutGraph, LayoutNode, LayoutEdge)in TreeLayoutPortAssignerAssigns relative coordinates to the target port of the incoming edge from the parent of the given node.
getSourcePortCandidate (LayoutEdge)in TreeLayoutPortAssignerRetrieves the source LayoutPortCandidate for the given edge.
getTargetPortCandidate (LayoutEdge)in TreeLayoutPortAssignerRetrieves the target LayoutPortCandidate for the given edge.
routeNonTreeEdges (LayoutGraph, IMapper<LayoutEdge,boolean>)in TreeReductionStageRoutes all edges that do not belong to the chosen spanning tree.