Network.from_networkx
-
classmethod
Network.
from_networkx
(graph) Create a new graph instance from a NetworkX DiGraph instance.
- Parameters
graph (networkx.DiGraph) – NetworkX instance of a directed graph.
- Returns
Graph – A newly created graph.
Network.
from_networkx
(graph)Create a new graph instance from a NetworkX DiGraph instance.
graph (networkx.DiGraph) – NetworkX instance of a directed graph.
Graph – A newly created graph.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev