TopologyDiagram.from_edges
- classmethod TopologyDiagram.from_edges(edges)
Create a new graph instance from information about the edges.
- Parameters:
edges (list[tuple[hashable, hashable]]) – The edges of the graph as pairs of node identifiers.
- Returns: