We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I noticed that in the Directed Graph Example Notebook you created a graph using the function
# and generate a networkx graph from it G = nx.from_numpy_array(ens_adj)
in the block [24].
However, according to https://networkx.org/documentation/stable/reference/generated/networkx.convert_matrix.from_numpy_array.html the function
nx.from_numpy_array()
per default creates a graph using nx.Graph, which is undirected. Shouldn't the function call therefore be
G = nx.from_numpy_array(ens_adj, create_using=nx.DiGraph)
?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I noticed that in the Directed Graph Example Notebook you created a graph using the function
in the block [24].
However, according to
https://networkx.org/documentation/stable/reference/generated/networkx.convert_matrix.from_numpy_array.html
the function
per default creates a graph using nx.Graph, which is undirected.
Shouldn't the function call therefore be
?
The text was updated successfully, but these errors were encountered: