Reading nodes with pos attribute from file in networkx

Viewed 2872

I am new to Networkx. I have a file containing position of nodes in following format

0 : 23.23 12.23

where 0 is a node, 23.23 and 12.23 are X and Y co-ordinates respectively. Does anyone know how to read nodes with pos attribute, using function like read_edgelist(...) or similar work around?

Thanks

1 Answers
Related