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,982
Messages
2,570,186
Members
46,743
Latest member
WoodrowMea

Latest Threads

Top