Wolfram Language & System 10.0 (2014)|Legacy Documentation
This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
gives the subgraph of the graph g generated by the vertices .
gives the subgraph generated by the edges .
gives the subgraph generated by the vertices and edges that match the pattern patt.
- The subgraph generated by the vertices includes the vertices and all edges connecting them in the original graph g.
- The subgraph generated by the edges includes the edges and all edges connecting vertices of in the original graph g.
- Subgraph works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Introduced in 2010
(8.0)| Updated in 2014