def html_visit_inheritance_diagram(self, node):
 graph = node['graph']
 graph_hash = get_graph_hash(node)
 name = ('inheritance%s' % graph_hash)
 urls = {}
 for child in node:
  if (child.get('refuri') is not None):
   urls[child['reftitle']] = child.get('refuri')
  elif (child.get('refid') is not None):
   urls[child['reftitle']] = ('#' + child.get('refid'))
 dotcode = graph.generate_dot(name, urls, env=self.builder.env)
 render_dot_html(self, node, dotcode, [], 'inheritance', 'inheritance', alt=('Inheritance diagram of ' + node['content']))
 raise nodes.SkipNode

def html_visit_inheritance_diagram ( self , node ) : graph = node [ 'graph' ] graph_hash = get_graph_hash ( node ) name = ( 'inheritance%s' % graph_hash ) urls = { } for child in node : if ( child . get ( 'refuri' ) is not None ) : urls [ child [ 'reftitle' ] ] = child . get ( 'refuri' ) elif ( child . get ( 'refid' ) is not None ) : urls [ child [ 'reftitle' ] ] = ( '#' + child . get ( 'refid' ) ) dotcode = graph . generate_dot ( name , urls , env = self . builder . env ) render_dot_html ( self , node , dotcode , [ ] , 'inheritance' , 'inheritance' , alt = ( 'Inheritance diagram of ' + node [ 'content' ] ) ) raise nodes . SkipNode
output the graph for html .