GraphTheory[Subdivide]
|
Calling Sequence
|
|
Subdivide(G, E, r)
|
|
Parameters
|
|
G
|
-
|
graph
|
E
|
-
|
edge or arc or set (or list) of edges or arcs of the graph
|
r
|
-
|
positive integer
|
|
|
|
|
Description
|
|
•
|
The Subdivide command subdivides the specified edges or arcs of a graph or digraph, by putting r new vertices on each specified edge or arc.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?