documentationfor yFiles for HTML 2.6

ParallelEdgesAlgorithm

This class provides methods for finding the parallel edges in a graph, also called multiple edges or multi-edges.

Inheritance Hierarchy
ParallelEdgesAlgorithm

Remarks

Parallel edges are edges which are incident to the same two nodes. In the undirected case, the direction does not matter. In the directed case, two parallel edges require to both have the same source and target node.

The graph example below shows several sets of parallel edges. There are four parallel edges connecting the left and the middle node. There are two parallel edges connecting the middle and the right node, however, they are only parallel in the undirected case. Finally, there are two parallel self-loops at the right node.

This graph contains three (two) sets of undirected (directed) parallel edges

Type Details

yfiles module
algorithms
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.algorithms.ParallelEdges

Static Methods