Analyzing graphs?

13 views
Skip to first unread message

Ron Johnson

unread,
Jan 19, 2015, 4:30:54 PM1/19/15
to py...@googlegroups.com
Hi,

Running "dot -v -Ppdf" on a file creates a whole bunch of useless noise, but at the very end, it shows something like:
mincross GRAMPS_graph: 279 crossings, 10.85 secs.

Is there any way from pydot to determine the number of edge crossings?  Spawning a subprocess to run "dot -v -Tpdf > foo.dot" seems so... inelegant.

Thanks

Ero Carrera

unread,
Feb 11, 2015, 6:41:22 PM2/11/15
to py...@googlegroups.com
Unfortunately pydot hands over the layouting to Graphviz and it has no way of knowing such properties of the graph as the edge crossings.

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

Reply all
Reply to author
Forward
0 new messages