dynetworkx.ImpulseGraph.__str__

ImpulseGraph.__str__()

Return the interval graph name.

Returns:name – The name of the interval graph.
Return type:string

Examples

>>> G = dnx.IntervalGraph(name='foo')
>>> str(G)
'foo'