H = inducedSubgraph(G, L)
D' = inducedSubgraph(D, L)
This method takes a graph or digraph and a list as the inputs. The List should be the vertices of the subgraph the user wants to consider, and the output will contain just those vertices and any edges from G that connect them. This method also is a way of iterating deleteVertex several times in a quick way.
|
|
|
|
|
The object inducedSubgraph is a method function.
The source of this document is in Graphs.m2:5164:0.