Indeed I was doing something wrong.  We had an old version of the
inheritance_diagram extension in our code that was being used instead.
 Once I removed that and used the extension that came with 0.6.x of
Sphinx, I could set graph attrs with no problem.  In case anyone else
finds this useful, I was able to make all kinds of adjustments to my
graphs:

inheritance_graph_attrs = dict(rankdir="LR", size='"6.0, 8.0"', fontsize=14,
                               ratio='compress')
inheritance_node_attrs = dict(shape='ellipse', fontsize=14, height=0.75,
                              color='dodgerblue1', style='filled')

Cheers!
Chris

On Wed, Sep 9, 2009 at 1:11 PM, Christopher Burns <[email protected]> wrote:
> I'd like to flip my inheritance diagrams so they flow vertically
> instead of horizontally.  I tried setting the inheritance_graph_attrs
> in my conf.py but it does not appear to effect anything.  Am I doing
> something wrong, I've tried the following different settings
> (independently):
>
> inheritance_graph_attrs = dict(rankdir="LR")
>
> inheritance_graph_attrs = dict(rankdir="TB")
>
> inheritance_graph_attrs = dict(rotate=1)
>
> Thanks for any pointers!
> Chris

-- 
Christopher Burns
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
510-643-4053
http://cirl.berkeley.edu/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to