| 
        
            | Methods |  |  
        |  |  
            |  | __init__ |  
        | 
__init__ ( self,  paper )
 |  
            |  | add_arrow |  
        | 
add_arrow ( self,  a )
 adds arrow item to SVG document |  
            |  | add_atom |  
        | 
add_atom ( self,  a )
 adds atom item to SVG document |  
            |  | add_bond |  
        | 
add_bond ( self,  b )
 adds bond item to SVG document |  
            |  | add_oval |  
        | 
add_oval ( self,  o )
 |  
            |  | add_plus |  
        | 
add_plus ( self,  p )
 adds plus item to SVG document |  
            |  | add_polygon |  
        | 
add_polygon ( self,  o )
 |  
            |  | add_polyline |  
        | 
add_polyline ( self,  o )
 |  
            |  | add_rect |  
        | 
add_rect ( self,  o )
 |  
            |  | add_text |  
        | 
add_text ( self,  t )
 adds text item to SVG document |  
            |  | construct_dom_tree |  
        | 
construct_dom_tree ( self,  top_levels )
 constructs the SVG dom from all top_levels |  |