networks
new
create a new graph
Calling Sequence
Parameters
Description
Examples
new(G)
G:=new()
G
-
graph or network
Important:The networks package has been deprecated. Use the superseding command GraphTheory[Graph]instead.
This routine creates a graph which has no vertices or edges. It is normally loaded via the command with(networks) but may also be referenced using the full name networks[new]().
with⁡networks:
new⁡G:
vertices⁡G
∅
edges⁡G
See Also
GraphTheory
GraphTheory[Graph]
networks(deprecated)[addedge]
networks(deprecated)[addvertex]
networks(deprecated)[complete]
networks(deprecated)[path]
with
Download Help Document