documentationfor yFiles for HTML 2.6

Usages of IEdgeMap

Properties

registeredEdgeMapsin GraphGets all edge maps that have been created by this graph but have not yet been disposed.

Fields

edgeLabelMapin DefaultLayoutGraphAn IEdgeMap associating IEdgeLabelLayouts with the edges of this graph.
parallelEdgesin ParallelEdgeRouterIEdgeMap that associates a hidden edge with the unique parallel edge not hidden from the core layout algorithm.

Method Return Values

createEdgeMap ()in GraphReturns a newly created edge map that is valid for the edges in this graph.
createEdgeMap (IMap<Object,Object>)in MapsCreate an IEdgeMap view of the given map.
createHashedEdgeMap ()in MapsCreates an IEdgeMap that is based on hashing.
createIndexEdgeMap (Object)in MapsReturns a IEdgeMap view of an Object array defined for edges.
createIndexEdgeMapForBoolean (boolean)in MapsReturns a IEdgeMap view of a boolean array defined for edges.
createIndexEdgeMapForInt (number)in MapsReturns a IEdgeMap view of an int array defined for edges.
createIndexEdgeMapForNumber (number)in MapsReturns a IEdgeMap view of a double array defined for edges.
createIndexEdgeMapFromArrays (number, number, boolean, Object)in MapsReturns a IEdgeMap view of a double, int, boolean and Object array defined for edges.
createEdgeMap (IMapper<IEdge,V>)in YGraphAdapterCreates an IEdgeMap that delegates to the provided IMapper<K,V> when queried for Edges in the yGraph.
createEdgeMap (function(IEdge):V)in YGraphAdapterCreates an IEdgeMap that delegates to the provided delegate when queried for Edges in the yGraph.

Method Parameters

edgeBetweenness (Graph, IEdgeMap, boolean, IDataProvider)in CentralityAlgorithmComputes betweenness centrality for each edge of a given graph.
nodeEdgeBetweenness (Graph, INodeMap, IEdgeMap, boolean, IDataProvider)in CentralityAlgorithmComputes betweenness centrality for each node and edge of a given graph.
normalizeEdgeMap (Graph, IEdgeMap)in CentralityAlgorithmNormalizes the double values of a given IEdgeMap by dividing each of them by the maximum of all values (maximum norm).
findCycleEdges (Graph, IEdgeMap, IDataProvider?)in CycleAlgorithmMarks the edges of a given graph whose removal or reversal would make the graph acyclic while trying to minimize the cost associated with the marked edges.
findCycleEdgesDFS (Graph, IEdgeMap)in CycleAlgorithmMarks the edges of a given graph whose removal or reversal would make the graph acyclic based on a depth first search.
disposeEdgeMap (IEdgeMap)in GraphInforms the graph that the given edge map is no longer needed.
biconnectedComponents (Graph, IEdgeMap, INodeMap?)in GraphConnectivityCalculates the biconnected components and the articulation points of a given undirected graph and returns the number of biconnected components.
toEdgeListArray (Graph, IEdgeMap, number)in GraphConnectivityTransforms the return values of biconnectedComponents to an array of EdgeLists, like it is returned by biconnectedComponents.
calcMaxFlow (Graph, YNode, YNode, IDataProvider, IEdgeMap)in NetworkFlowAlgorithmSolves a maximum flow problem using the preflow-push method.
calcMaxFlowMinCut (Graph, YNode, YNode, IDataProvider, IEdgeMap, INodeMap)in NetworkFlowAlgorithmSolves a maximum flow problem using the preflow-push method but additionally marks all nodes that belong to the minimum cut set that is associated with the source of the network.
minCostFlow (Graph, IDataProvider, IDataProvider, IDataProvider, IDataProvider, IEdgeMap, INodeMap)in NetworkFlowAlgorithmSolves a minimum cost flow problem with a capacity scaling algorithm.
minCostFlow (Graph, IDataProvider, IDataProvider, IDataProvider, IEdgeMap, INodeMap)in NetworkFlowAlgorithmUses method minCostFlow to solve a minimum cost flow problem.
minCostFlow (Graph, YNode, YNode, IDataProvider, IDataProvider, IEdgeMap, INodeMap)in NetworkFlowAlgorithmSolves a minimum cost maximum flow problem.
findAllPaths (Graph, YNode, YNode, IEdgeMap)in PathAlgorithmFinds all edges that belong to a directed path from a start node to an end node.
findLongestPaths (Graph, YNode, IEdgeMap, INodeMap, IEdgeMap)in PathAlgorithmCalculates the longest path from a given node to all other node in a given directed acyclic graph.
findPath (Graph, YNodeList, YNode, YNode, IEdgeMap)in PathAlgorithmReturns whether or not a directed path from a start node to another node in an acyclic graph exists.
simple (Graph, INodeMap, IEdgeMap, number?)in RankAssignmentAlgorithmThis method quickly calculates a tight tree given a maximum time duration for the algorithm.
simplex (Graph, INodeMap, IDataProvider, IDataProvider, IEdgeMap, YNode, boolean, number?)in RankAssignmentAlgorithmSimilar to simplex but, additionally, it is possible to provide a valid initial tree solution for the problem.
findShortestUniformPaths (Graph, YNode, YNode, boolean, IEdgeMap)in ShortestPathAlgorithmMarks all edges that belong to a shortest path from start node to target node.
calcDelauneyTriangulation (Graph, IDataProvider, IEdgeMap)in TriangulationAlgorithmComputes a Delauney triangulation of the given points.
triangulatePoints (Graph, IDataProvider, IEdgeMap)in TriangulationAlgorithmComputes a triangulation of the given points.
triangulatePoints (YList, Graph, INodeMap, IEdgeMap)in TriangulationAlgorithmComputes a triangulation of the given points.
createPortConstraintsFromSketch (LayoutGraph, IEdgeMap, IEdgeMap)in PortConstraintConfiguratorCreates weak PortConstraints for all edges of the given graph.
createPortConstraintsFromSketch (LayoutGraph, IEdgeCursor, IEdgeMap, boolean, IEdgeMap, boolean)in PortConstraintConfiguratorCreates PortConstraints for some edges of the given graph.
createEdgeMapper (IEdgeMap)in YGraphAdapterCreates an IMapper<K,V> that delegates to the provided IEdgeMap when queried for items in the IGraph.
layoutParallelEdges (LayoutGraph, IEdgeMap)in ParallelEdgeRouterAssigns a layout to all parallel edges.
routeNonTreeEdges (LayoutGraph, IEdgeMap)in TreeReductionStageRoutes all edges that do not belong to the chosen spanning tree.