class documentation
Known subclasses: pylint.pyreverse.dot_printer.DotPrinter
, pylint.pyreverse.mermaidjs_printer.MermaidJSPrinter
, pylint.pyreverse.plantuml_printer.PlantUmlPrinter
, pylint.pyreverse.vcg_printer.VCGPrinter
Base class defining the interface for a printer.
Method | __init__ |
Undocumented |
Method | emit |
Undocumented |
Method | emit |
Create an edge from one node to another to display relationships. |
Method | emit |
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 |
Undocumented |
Static Method | _get |
Undocumented |
Method | _close |
Emit the lines needed to properly close the graph. |
Method | _dec |
Decrement indentation. |
Method | _inc |
Increment indentation. |
Method | _open |
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)
¶
overridden in
pylint.pyreverse.dot_printer.DotPrinter
Undocumented
@abstractmethod
def emit_edge(self, from_node:
def emit_edge(self, from_node:
str
, to_node: str
, type_: EdgeType
, label: str|None
= None):
(source)
¶
overridden in
pylint.pyreverse.dot_printer.DotPrinter
, pylint.pyreverse.mermaidjs_printer.MermaidJSPrinter
, pylint.pyreverse.plantuml_printer.PlantUmlPrinter
, pylint.pyreverse.vcg_printer.VCGPrinter
Create an edge from one node to another to display relationships.
@abstractmethod
def emit_node(self, name:
def emit_node(self, name:
str
, type_: NodeType
, properties: NodeProperties|None
= None):
(source)
¶
overridden in
pylint.pyreverse.dot_printer.DotPrinter
, pylint.pyreverse.mermaidjs_printer.MermaidJSPrinter
, pylint.pyreverse.plantuml_printer.PlantUmlPrinter
, pylint.pyreverse.vcg_printer.VCGPrinter
Create a new node. Nodes can be classes, packages, participants etc.
overridden in
pylint.pyreverse.dot_printer.DotPrinter
, pylint.pyreverse.mermaidjs_printer.MermaidJSPrinter
, pylint.pyreverse.plantuml_printer.PlantUmlPrinter
, pylint.pyreverse.vcg_printer.VCGPrinter
Emit the lines needed to properly close the graph.
overridden in
pylint.pyreverse.dot_printer.DotPrinter
, pylint.pyreverse.mermaidjs_printer.MermaidJSPrinter
, pylint.pyreverse.plantuml_printer.PlantUmlPrinter
, pylint.pyreverse.vcg_printer.VCGPrinter
Emit the header lines, i.e. all boilerplate code that defines things like layout etc.