Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This should work:

sage: import networkx
sage: g = Graph(networkx.read_dot('your_dot_file.dot'))

Currently you can write .dot files with Graph.export_to_file but not read them yet. We have "been about to write it" several times now, gut given that none of us apparently needs it, it still isn't actual code.

If you want to start contributing to Sage, that's a good starting point: useful contribution, and not technically complicated.

Nathann