networks
vertices
returns a vertex set
Calling Sequence
Parameters
Description
Examples
vertices(G)
G
-
graph or network
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](...).
with⁡networks:
new⁡G:
addvertex⁡1,2,v1,v2,v3,a,b,c,G:
vertices⁡G
1,2,a,b,c,v1,v2,v3
See Also
GraphTheory
GraphTheory[Vertices]
networks(deprecated)[addedge]
networks(deprecated)[addvertex]
networks(deprecated)[edges]
with
Download Help Document