def html_visit_inheritance_diagram(<EOL>self: NodeVisitor, node: inheritance_diagram<EOL>) -> None:
inheritance_graph = node["<STR_LIT>"]<EOL>urls = build_urls(self, node)<EOL>graphviz_graph = inheritance_graph.build_graph(urls)<EOL>dot_code = format(graphviz_graph, "<STR_LIT>")<EOL>aspect_ratio = inheritance_graph.aspect_ratio<EOL>if aspect_ratio:<EOL><INDENT>aspect_ratio = math.ceil(math.sqrt(aspect_ratio[<NUM_LIT:1>] / aspect_ratio[<NUM_LIT:0>]))<EOL><DEDENT>if aspect_ratio > <NUM_LIT:1>:<EOL><INDENT>process = subprocess.Popen(<EOL>["<STR_LIT>", "<STR_LIT>", str(aspect_ratio), "<STR_LIT:-c>", str(aspect_ratio), "<STR_LIT>"],<EOL>stdout=subprocess.PIPE,<EOL>stdin=subprocess.PIPE,<EOL>stderr=subprocess.PIPE,<EOL>)<EOL>stdout, stderr = process.communicate(dot_code.encode())<EOL>dot_code = stdout.decode()<EOL><DEDENT>render_dot_html(self, node, dot_code, {}, "<STR_LIT>", "<STR_LIT>")<EOL>raise SkipNode<EOL>
Builds HTML output from an :py:class:`~uqbar.sphinx.inheritance.inheritance_diagram` node.