hypergraph

Hypergraph with networkx

a 夏天 提交于 2020-01-20 08:39:50
问题 is anyone familiar with networkx? I try to get a hypergraph, where i want to set the Hyperedges as other colored nodes (size dependent on their value) out of an list. And i want to set the Nodes out of an other list. The documentation and examples on the networkx website are really spare, but i am sure it is possible. I started with this example, but this is only an example for different edges. Can someone tell me how i can put up two different set of nodes with different color/size in

Hypergraph with networkx

非 Y 不嫁゛ 提交于 2019-12-02 03:56:47
is anyone familiar with networkx? I try to get a hypergraph, where i want to set the Hyperedges as other colored nodes (size dependent on their value) out of an list. And i want to set the Nodes out of an other list. The documentation and examples on the networkx website are really spare, but i am sure it is possible. I started with this example , but this is only an example for different edges. Can someone tell me how i can put up two different set of nodes with different color/size in networkx? Did you want something like this use nx.draw_networkx_nodes using nodelist parameter: # Author: