google-deepmind / google-deepmind/graph_nets
Problem with plot_compare_graphs function
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 777
- PR merge metrics
- No merged PRs in 30d
Description
I'm new in the field of Graph and Networks. Recently I came across your code and tired to run the code.
looking at the function like
plot_graphs_tuple(graphs_tuple_tf)
and plot_compare_graphs(output_graphs, labels=[
"Input graph",
"blocks.broadcast_globals_to_nodes",
"blocks.broadcast_globals_to_edges",
"blocks.broadcast_sender_nodes_to_edges",
"blocks.broadcast_receiver_nodes_to_edges"])
There is a function inside these called OrderedMultiDiGraph() inside graph_nx and I tried to search about that particular function unfortunately that function doesnot exists in Networkx but there is function called MultiDiGraph.order() and class called MultiDiGraph(...)
Hence it gives error of "AttributeError: module 'networkx' has no attribute 'OrderedMultiDiGraph'"
am I missing something or is it actually error ?
Contributor guide
Assessment
This issue has not been assessed yet.