module documentation

Functions to generate files readable with George Sander's vcg (Visualization of Compiler Graphs). You can download vcg at https://rw4.cs.uni-sb.de/~sander/html/gshome.html Note that vcg exists as a debian package. See vcg's documentation for explanation about the different values that maybe used for the functions parameters.

Class VCGPrinter No class docstring; 5/5 methods, 0/1 static method documented
Constant ARROWS Undocumented
Constant ATTRS_VAL Undocumented
Constant EDGE_ATTRS Undocumented
Constant GRAPH_ATTRS Undocumented
Constant NODE_ATTRS Undocumented
Constant ORIENTATION Undocumented
Constant SHAPES Undocumented

Undocumented

Value
{EdgeType.USES: {'arrowstyle': 'solid',
                 'backarrowstyle': 'none',
                 'backarrowsize': 0},
 EdgeType.INHERITS: {'arrowstyle': 'solid',
                     'backarrowstyle': 'none',
                     'backarrowsize': 10},
 EdgeType.IMPLEMENTS: {'arrowstyle': 'solid', 'backarrowstyle': 'none', 'linesty
...
ATTRS_VAL: dict = (source)

Undocumented

Value
{'algos': ('dfs',
           'tree',
           'minbackward',
           'left_to_right',
           'right_to_left',
           'top_to_bottom',
           'bottom_to_top',
...
EDGE_ATTRS = (source)

Undocumented

Value
{'sourcename': 0,
 'targetname': 0,
 'label': 0,
 'linestyle': ATTRS_VAL['linestyles'],
 'class': 1,
 'thickness': 0,
 'color': ATTRS_VAL['colors'],
...
GRAPH_ATTRS = (source)

Undocumented

Value
{'title': 0,
 'label': 0,
 'color': ATTRS_VAL['colors'],
 'textcolor': ATTRS_VAL['colors'],
 'bordercolor': ATTRS_VAL['colors'],
 'width': 1,
 'height': 1,
...
NODE_ATTRS = (source)

Undocumented

Value
{'title': 0,
 'label': 0,
 'color': ATTRS_VAL['colors'],
 'textcolor': ATTRS_VAL['colors'],
 'bordercolor': ATTRS_VAL['colors'],
 'width': 1,
 'height': 1,
...
ORIENTATION: dict[Layout, str] = (source)

Undocumented

Value
{Layout.LEFT_TO_RIGHT: 'left_to_right',
 Layout.RIGHT_TO_LEFT: 'right_to_left',
 Layout.TOP_TO_BOTTOM: 'top_to_bottom',
 Layout.BOTTOM_TO_TOP: 'bottom_to_top'}

Undocumented

Value
{NodeType.PACKAGE: 'box', NodeType.CLASS: 'box', NodeType.INTERFACE: 'ellipse'}