copy a graph
graph or network
Important: The networks package has been deprecated. Use the superseding command GraphTheory[CopyGraph] instead.
This procedure returns a graph with properties identical to those of G.
It is normally loaded via the command with(networks) but may also be referenced using the full name networks[duplicate](...).
G ≔ complete⁡4:
H ≔ duplicate⁡G:
H2 ≔ G:
Changing H will not affect G however changing H2 will.
Download Help Document