Package logilab :: Package common :: Module vcgutils
[frames] | no frames]

Module vcgutils

source code

Functions to generate files readable with Georg Sander's vcg
(Visualization of Compiler Graphs).

You can download vcg at http://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.

:copyright: 2000-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: General Public License version 2 - http://www.gnu.org/licenses

Classes
  VCGPrinter
A vcg graph writer.
Functions
 
latin_to_vcg(st)
Convert latin characters using vcg escape sequence.
source code
Variables
  ATTRS_VAL = {'algos': ('dfs', 'tree', 'minbackward', 'left_to_...
  EDGE_ATTRS = {'anchor': 1, 'arrowcolor': ('black', 'white', 'b...
  GRAPH_ATTRS = {'bordercolor': ('black', 'white', 'blue', 'red'...
  NODE_ATTRS = {'bordercolor': ('black', 'white', 'blue', 'red',...
  __package__ = 'logilab.common'
Variables Details

ATTRS_VAL

Value:
{'algos': ('dfs',
           'tree',
           'minbackward',
           'left_to_right',
           'right_to_left',
           'top_to_bottom',
           'bottom_to_top',
           'maxdepth',
...

EDGE_ATTRS

Value:
{'anchor': 1,
 'arrowcolor': ('black',
                'white',
                'blue',
                'red',
                'green',
                'yellow',
                'magenta',
...

GRAPH_ATTRS

Value:
{'bordercolor': ('black',
                 'white',
                 'blue',
                 'red',
                 'green',
                 'yellow',
                 'magenta',
                 'lightgrey',
...

NODE_ATTRS

Value:
{'bordercolor': ('black',
                 'white',
                 'blue',
                 'red',
                 'green',
                 'yellow',
                 'magenta',
                 'lightgrey',
...