(self)
return output
Return the connectivity and graph_density in the form of a dictionary.
Return the connectivity and graph_density in the form of a dictionary.
Return the connectivity and graph_density in the form of a dictionary .
def to_dict(self):
        """
        Return the connectivity and graph_density in the form of a dictionary.
        """
        output = {}
        output['connectivity'] = self.connect
        output['graph_density'] = self.starting_density
        return output
def to_dict ( self ) : output = { } output [ 'connectivity' ] = self . connect output [ 'graph_density' ] = self . starting_density return output