(self)
return "%s %s" % ( str_nodes, str_edges )
Return a string representing the graph when requested by str() (or print).

        @rtype:  string
        @return: String representing the graph.
Return a string representing the graph when requested by str() (or print).
Return a string representing the graph when requested by str () ( or print ) .
def __str__(self):
        """
        Return a string representing the graph when requested by str() (or print).

        @rtype:  string
        @return: String representing the graph.
        """
        str_nodes = repr( self.nodes() )
        str_edges = repr( self.edges() )
        return "%s %s" % ( str_nodes, str_edges )
def __str__ ( self ) : str_nodes = repr ( self . nodes ( ) ) str_edges = repr ( self . edges ( ) ) return "%s %s" % ( str_nodes , str_edges )