On 01/10/2012 09:17 PM, Michael Orlitzky wrote:
We could do a lot better here -- I had to read the source for
DiGraph.__init__ -- but it looks like when you called DiGraph(m), it
considered 'm' to be an adjacency matrix.
Or maybe I'm just bad at looking. DiGraph() is actually fairly
well-documented. You can do,
DiGraph(..., format='adjacency_matrix')
to make sure it treats your input as an adjacency matrix. The reference
page for HasseDiagram is still rather mysterious, though, if you don't
know to check out its superclass's documentation. That's probably
get-used-to-able though.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org