They didn't deprecate it, but they changed the format somewhat.

For instance:

sage: import networkx
sage: networkx.__version__
'0.36'
sage: N = networkx.complete_graph(4)
sage: N.adj
{0: {1: None, 2: None, 3: None}, 1: {0: None, 2: None, 3: None}, 2:
{0: None, 1: None, 3: None}, 3: {0: None, 1: None, 2: None}}

compared with:

sage: import networkx
sage: networkx.__version__
'1.0.1'
sage: N = networkx.complete_graph(4)
sage: N.adj
{0: {1: {}, 2: {}, 3: {}}, 1: {0: {}, 2: {}, 3: {}}, 2: {0: {}, 1: {},
3: {}}, 3: {0: {}, 1: {}, 2: {}}}

But that still doesn't entire answer what is asking for the xgraph or
xdigraph modules (so far as I can tell, though I could be wrong)

- Greg
On Jan 29, 9:48 am, Robert Miller <r...@rlmiller.org> wrote:
> > Un tar-ing the pickle_jar and load
> > ("_class__sage_graphs_graph_Graph__.sobj") or load
> > ("_class__sage_combinat_posets_posets_FinitePoset__.sobj") gives the
> > error of "ImportError: No module named xgraph" or "ImportError: No
> > module named xdigraph" respectively (these modules held the classes
> > removed between 0.36 and 1.0.1).
>
> If you have an old NetworkX graph N, most of the information is in the
> property N.adj. This is just an adjacency dictionary, and I can't
> imagine the NX people deprecating that format as input for their new
> graph classes.
>
> --
> Robert L. Millerhttp://www.rlmiller.org/

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to