GraphTheory
Subdivide
construct graph by subdividing edges
Calling Sequence
Parameters
Description
Examples
Subdivide(G, E, r)
G
-
graph
E
(optional) edge or arc or set (or list) of edges or arcs of the graph
r
(optional) positive integer
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.
If r is not specified, a default value of 1 is used.
See Also
Digraph
Edges
Graph
Download Help Document