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
This commit is contained in:
Robin Dunn
2012-07-20 01:47:09 +00:00
parent 719770cf45
commit cddb7c88df

View File

@@ -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()