sphinx_uml.pyreverse.dot_printer module#

Based on the pyreverse.dot_printer module. Under Debian, see the /usr/lib/python3/dist-packages/pylint/pyreverse/dot_printer.py file.

class sphinx_uml.pyreverse.dot_printer.DotPrinter(title: str, layout: Layout | None = None, use_automatic_namespace: bool | None = None)[source]#

Bases: DotPrinter

Overloads the pylint.pyreverse.dot_printer.DotPrinter class to export an UML diagram using Graphviz and crafting links in the output file to map each class/method/attribute name with the corresponding Sphinx HTML page/anchor.

emit_node(name: str, type_: NodeType, properties: NodeProperties | None = None) None[source]#

Create a new node.

Nodes can be classes, packages, participants etc.