FormGraph.from_nodes_and_edges
- classmethod FormGraph.from_nodes_and_edges(nodes, edges)
Construct a network from nodes and edges.
- Parameters
nodes (list[list[float]] | dict[hashable, list[float]]) – A list of node coordinates or a dictionary of keys pointing to node coordinates to specify keys.
edges (list[tuple[hashable, hshable]])
- Returns
Network
– A network object.