networks(deprecated)/getlabel - Maple Help

networks

 getlabel
 gets the unique internal label of a graph

 Calling Sequence getlabel(G)

Parameters

 G - graph or network

Description

 • 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](...).

Examples

Important: The networks package has been deprecated.  Use the superseding package GraphTheory instead.

 > $\mathrm{with}\left(\mathrm{networks}\right):$
 > $G≔\mathrm{cycle}\left(4\right):$
 > $H≔\mathrm{duplicate}\left(G\right):$
 > $\mathrm{getlabel}\left(G\right)$
 ${1}$ (1)
 > $\mathrm{getlabel}\left(H\right)$
 ${2}$ (2)