docs: def latex_visit_inheritance_diagram(self, node):
      # type: (nodes.NodeVisitor, inheritance_diagram) -> None
      """
      Output the graph for LaTeX.  This will insert a PDF.
      """
      graph = node['graph']
  
      graph_hash = get_graph_hash(node)
      name = 'inheritance%s' % graph_hash
  
      dotcode = graph.generate_dot(name, env=self.builder.env,
                                   graph_attrs={'size': '"6.0,6.0"'})
      render_dot_latex(self, node, dotcode, {}, 'inheritance')
      raise nodes.SkipNode