| 
         A graph represented using ConnectedBox and Connection objects. 
        
            | 
                
                  Methods 
                
             | 
            
                 
             | 
         
        
        
        
__init__ 
__str__ 
add_edge 
add_node 
         |  
            | 
                
                   
                
             | 
            
                __init__ 
             | 
         
        
        
        
__init__ ( self )
 
 
         |  
            | 
                
                   
                
             | 
            
                __str__ 
             | 
         
        
        
        
__str__ ( self )
 
 
         |  
            | 
                
                   
                
             | 
            
                add_edge 
             | 
         
        
        
        
add_edge ( self,  edge )
 
Add an edge to the graph. 
        
            | 
                
                  Exceptions 
                
             | 
            
                 
             | 
         
        
        
        
ValueError( 'Duplicate edge: %s' % edge ) 
 |  
 
         |  
            | 
                
                   
                
             | 
            
                add_node 
             | 
         
        
        
        
add_node ( self,  node )
 
Add a node to the graph. 
        
            | 
                
                  Exceptions 
                
             | 
            
                 
             | 
         
        
        
        
ValueError( 'Duplicate value: %s' % node ) 
 |  
 
 |  
 
         |