Graph.from_edges
- classmethod Graph.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
Create a new graph instance from information about the edges.
edges (list[tuple[hashable, hashable]]) – The edges of the graph as pairs of node identifiers.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev