class documentation

Base class defining the interface for a printer.

Method __init__ Undocumented
Method emit Undocumented
Method emit_edge Create an edge from one node to another to display relationships.
Method emit_node Create a new node.
Method generate Generate and save the final outputfile.
Instance Variable layout Undocumented
Instance Variable lines Undocumented
Instance Variable title Undocumented
Instance Variable use_automatic_namespace Undocumented
Static Method _get_method_arguments Undocumented
Method _close_graph Emit the lines needed to properly close the graph.
Method _dec_indent Decrement indentation.
Method _inc_indent Increment indentation.
Method _open_graph Emit the header lines, i.e. all boilerplate code that defines things like layout etc.
Instance Variable _indent Undocumented
def __init__(self, title: str, layout: Layout|None = None, use_automatic_namespace: bool|None = None): (source)

Undocumented

def emit(self, line: str, force_newline: bool|None = True): (source)

Undocumented

def generate(self, outputfile: str): (source)

Generate and save the final outputfile.

Undocumented

Undocumented

Undocumented

use_automatic_namespace = (source)

Undocumented

@staticmethod
def _get_method_arguments(method: nodes.FunctionDef) -> list[str]: (source)

Undocumented

def _dec_indent(self): (source)

Decrement indentation.

def _inc_indent(self): (source)

Increment indentation.

Undocumented