Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config

Module Synopsis:: Formatter:: Dot

Uses 'dot' from graphviz to generate various graphs.


Classes Summary:
SystemError
Error thrown by the system() function. [Source]
InheritanceFormatter
A Formatter that generates an inheritance graph [Source]
SingleInheritanceFormatter
A Formatter that generates an inheritance graph for a specific class. [Source]
CollaborationFormatter
A Formatter that generates a collaboration graph [Source]

Functions Summary:
 system(command)
Run the command. [Source]
 usage()
Print usage to stdout [Source]
 __parseArgs(args, config_obj) [Source]
 _rel(frm, to)
Find link to to relative to frm [Source]
 _convert_map(input, output)
convert map generated from Dot to a html region map. [Source]
 _format(input, output, format) [Source]
 _format_png(input, output) [Source]
 _format_html(input, output)
generate (active) image for html. [Source]
 format(args, ast, config_obj) [Source]

Function Details:
  system(command)

Run the command. If the command fails, an exception SystemError is thrown.


  _convert_map(input, output)

convert map generated from Dot to a html region map. input and output are (open) streams


  _format_html(input, output)

generate (active) image for html. input and output are file names. If output ends in '.html', its stem is used with an '.png' suffix for the actual image.