Hi,

On 04/08/2012 03:57 PM, Mikhail Spivakov wrote:
> PS. Sorry for an inconsistent example!
> In fact, both of these work:
> 
> $ dot -Tpng test1.dot -o graph1.png
> $ dot -Tpdf test1.dot -o graph1.pdf
> 
> while none of those do:
> 
> graph_draw(ug, vprops={"label": ug.vertex_index},
> output="two-nodes.png", layout="fdp")
> graph_draw(ug, vprops={"label": ug.vertex_index},
> output="two-nodes.pdf", layout="fdp")
> 
> so it's not format-dependent.
> 

I cannot reproduce this... Are you sure your command line examples use
the same graphviz installation which is available to graph-tool?

graph-tool just passes the format choice down to the graphviz
library. If it complains it does not understand the format, it means it
was not enabled during compilation.

Check again your LD_LIBRARY_PATH and PYTHON_PATH to make sure they are
pointing to the correct places.

Cheers,
Tiago

--
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to