networks
void
generate a void graph
Calling Sequence
Parameters
Description
Examples
void(n)
void(vset)
n
-
integer indicating the number of vertices
vset
set or list of vertex names
Important: The networks package has been deprecated.Use the superseding command GraphTheory[Graph] instead.
This procedure generates void graphs, i.e. graphs with n vertices and no edges. (Specific vertices may be provided as a set.) It is normally loaded via the command with(networks) but may also be referenced using the full name networks[void](...).
with⁡networks:
G ≔ void⁡10:
vertices⁡G
1,2,3,4,5,6,7,8,9,10
edges⁡G
∅
show⁡void⁡saskatchewan,waterloo,zurich
table⁡_Neighbors=table⁡saskatchewan=∅,waterloo=∅,zurich=∅,_Edges=∅,_Vertices=zurich,saskatchewan,waterloo,_Econnectivity=_Econnectivity,_Vweight=table⁡sparse,,_Countcuts=_Countcuts,_Counttrees=_Counttrees
See Also
GraphTheory
GraphTheory[Graph]
networks(deprecated)[complete]
networks(deprecated)[cycle]
networks(deprecated)[ends]
with
Download Help Document