def __str__(self):
        str_nodes = repr( self.nodes() )
        str_edges = repr( self.edges() )
        return "%s %s" % ( str_nodes, str_edges )
Return a string representing the graph when requested by str() (or print).
dataset/ETHPy150Open nerdvegas/rez/src/rez/vendor/pygraph/mixins/common.py/common.__str__