BendNetwork.from_edges

classmethod BendNetwork.from_edges(edges)

Create a new graph instance from information about the edges.

Parameters:
edgeslist[tuple[hashable, hashable]]

The edges of the graph as pairs of node identifiers.

Returns:
compas.datastructures.Graph

See also

from_networkx()