> The Poset.to_graph function, on the other hand, is deprecated with a
> message explaining how to obtain the same result by other means.

As a result of Travis' insistence, none of the functions were deleted.

Graph.to_partition() has become Graph.connected_components_size and
does the following:
    - map(size,G.connected_components()); or
    - [len(x) for x in G.connected_components()]

Poset.to_graph() has become Poset.cover_relations_graph() and does the
following:
    - P.hasse_diagram().to_undirected(); or
    - Graph(P.hasse_diagram()) ; or
    - Graph(P.cover_relations())

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to