3.8.2.3. sphinx.ext.inheritance_diagram.InheritanceGraph

class sphinx.ext.inheritance_diagram.InheritanceGraph(class_names, currmodule, show_builtins=False, private_bases=False, parts=0)[source]

Given a list of classes, determines the set of classes that they inherit from all the way to the root “object”, and then is able to generate a graphviz dot graph from them.

3.8.2.3.1. Methods

__init__(class_names, currmodule[, ...]) class_names is a list of child classes to show bases from.
class_name(cls[, parts]) Given a class object, return a fully-qualified name.
generate_dot(name[, urls, env, graph_attrs, ...]) Generate a graphviz dot graph from the classes that were passed in to __init__.
get_all_class_names() Get all of the class names involved in the graph.