qadpid / qadpid /

Writer Code

Copyright 2011 John Chandler
This software is distributed under the terms of the GNU General Public License version 3

class DOTWriter( object ):
    """ DOT File Writer """
    def __init__( self, code_hierarchy ):

    def write( self, file_object ):
        """ Write a DOT file to the file object
            Assumes we can start writing at the current location in the file (i.e. append)
        file_object.write( "digraph code_hierarchy {\n" )
        file_object.write( "}\n" )