On 09/26/2011 12:27 PM, Andrea Crotti wrote:
I just saw today the nice sphinx.ext.graphviz extension, and I think I
will use it heavily.
The only problem is that I wanted to get all the graphs with a
nice-looking and consistent style, and graphviz for that doesn't
really help.
If for example all the nodes should be black I should write
node [color=black]
in every dot snippet of code.
One possible solution is to use pygraphviz and make the whole thing
more "object-oriented", are there other solutions using sphinx-only?
not an expert on all this but couldn't you use conf.py?
I use them for inheritance graphs and do this which I was pointed to do
by someone on the list.
# draw them top to bottom
inheritance_graph_attrs = dict(rankdir="TB", size='"10.0, 10.0"')
inheritance_node_attrs = dict(style='filled')
Werner
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.