networks(deprecated)/vertices - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : networks(deprecated)/vertices

networks

 vertices
 returns a vertex set

 Calling Sequence vertices(G)

Parameters

 G - graph or network

Description

 • Important: The networks package has been deprecated.Use the superseding command GraphTheory[Vertices] instead.
 • This routine returns the vertex set of G. It is normally loaded via the command with(networks) but may also be referenced using the full name networks[vertices](...).

Examples

Important: The networks package has been deprecated.Use the superseding command GraphTheory[Vertices] instead.

 > $\mathrm{with}\left(\mathrm{networks}\right):$
 > $\mathrm{new}\left(G\right):$
 > $\mathrm{addvertex}\left(1,2,\mathrm{v1},\mathrm{v2},\mathrm{v3},a,b,c,G\right):$
 > $\mathrm{vertices}\left(G\right)$
 $\left\{{1}{,}{2}{,}{a}{,}{b}{,}{c}{,}{\mathrm{v1}}{,}{\mathrm{v2}}{,}{\mathrm{v3}}\right\}$ (1)

 See Also