From cddb7c88dfbd9031ca3a51a9a07cdb9af427dbaf Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 20 Jul 2012 01:47:09 +0000 Subject: [PATCH] Reverse the direction of the arrows so they match how class diagrams are normally drawn and better indicate an "is derived from" relationship. Also change the color to navy and use a nicer style of arrow head. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- sphinxtools/inheritance.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sphinxtools/inheritance.py b/sphinxtools/inheritance.py index 8aa14114..723a9dbe 100644 --- a/sphinxtools/inheritance.py +++ b/sphinxtools/inheritance.py @@ -149,7 +149,12 @@ class InheritanceDiagram(object): 'Arial, Helvetica, sans', 'style': '"setlinewidth(0.5)"', 'labelloc': 'c', 'fontcolor': 'grey45'} - inheritance_edge_attrs = {'arrowsize': 0.5, 'style': '"setlinewidth(0.5)"', "color": "black"} + inheritance_edge_attrs = {'arrowsize': 0.5, + 'style': '"setlinewidth(0.5)"', + 'color': '"#23238E"', + 'dir': 'back', + 'arrowtail': 'open', + } g_attrs = self.default_graph_attrs.copy() n_attrs = self.default_node_attrs.copy()