class documentation

class VCGPrinter(Printer): (source)

View In Hierarchy

Undocumented

Method emit_edge Create an edge from one node to another to display relationships.
Method emit_node Create a new node.
Static Method _build_label_for_node Undocumented
Method _close_graph Emit the lines needed to properly close the graph.
Method _open_graph Emit the header lines.
Method _write_attributes Write graph, node or edge attributes.

Inherited from Printer:

Method __init__ Undocumented
Method emit Undocumented
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 _dec_indent Decrement indentation.
Method _inc_indent Increment indentation.
Instance Variable _indent Undocumented
def emit_edge(self, from_node: str, to_node: str, type_: EdgeType, label: str|None = None): (source)

Create an edge from one node to another to display relationships.

def emit_node(self, name: str, type_: NodeType, properties: NodeProperties|None = None): (source)

Create a new node. Nodes can be classes, packages, participants etc.

@staticmethod
def _build_label_for_node(properties: NodeProperties) -> str: (source)

Undocumented

def _close_graph(self): (source)

Emit the lines needed to properly close the graph.

def _open_graph(self): (source)

Emit the header lines.

def _write_attributes(self, attributes_dict: Mapping[str, Any], **args: Any): (source)

Write graph, node or edge attributes.