networks
getlabel
gets the unique internal label of a graph
Calling Sequence
Parameters
Description
Examples
getlabel(G)
G
-
graph or network
Important: The networks package has been deprecated. Use the superseding package GraphTheory instead.
Each graph has an internal label so that copies of the same graph can be distinguished from one another. This label is retrieved by using getlabel().
This routine is normally loaded by using the command with(networks), but it may also be referenced by using the full name networks[getlabel](...).
with⁡networks:
G≔cycle⁡4:
H≔duplicate⁡G:
getlabel⁡G
1
getlabel⁡H
2
See Also
GraphTheory
networks(deprecated)[duplicate]
Download Help Document