Graph Drawing

S

subhabangalore

Dear Group,

In networkx module we generally try to draw the graph as,......

Now, if I want to retrieve the information of traversal from 1 to 3, I can give,
G.edges()

but I am looking for a command or function by which I can get not only the node names but also the weights.

If anyone in the room can kindly suggest?

Regards,
Subhabrata.

NB: Apology for any indentation error, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top