Subgraph operations#
Edge induced subgraphs#
- edge_induced_subgraph(net, edges)
Returns a copy of a subset of the network net
consisting only of edges
edges
and all their incident vertices.
Vertex induced subgraphs#
- vertex_induced_subgraph(net, verts)
Returns a copy of a subset of the network net
consisting only of vertices
verts
and any edges with all incident vertices in verts
.