Return a copy of the topology.
Returns : | topology : DirectedTopology
|
---|
See also
Notes
This makes a complete copy of the topology including all of the node or edge attributes.
Examples
>>> topo = DirectedTopology()
>>> topo.add_path([0,1,2,3])
>>> copied_topo = topo.copy()