GraphTheory[Subgraph]
|
Calling Sequence
|
|
Subgraph(G, E)
|
|
Parameters
|
|
G
|
-
|
graph
|
E
|
-
|
set or list of edges
|
|
|
|
|
Description
|
|
•
|
The Subgraph command returns the subgraph formed by a specified set (or list) of edges.
|
•
|
To induce a subgraph using a set of vertices, use the InducedSubgraph command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
>
|
|
|
|
Download Help Document
Was this information helpful?