Add/Remove operations#
Adding and removings edges#
- with_edges(network, edges)
Returns a copy of net
with edges from edges
along with all their
incident vertices added in.
- without_edges(network, edges)
Returns a copy of net
with edges from edges
removed. The returned
graph has all the vertices of the original graph.
Adding and removing vertices#
- with_vertices(network, verts)
Returns a copy of net
with vertices from verts
added in.
- without_vertices(network, verts)
Returns a copy of net
with vertices from verts
, along with all
their incident edges removed.