networks(deprecated)/new - Maple Help

networks

 new
 create a new graph

 Calling Sequence new(G) G:=new()

Parameters

 G - graph or network

Description

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

Examples

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

 > $\mathrm{with}\left(\mathrm{networks}\right):$
 > $\mathrm{new}\left(G\right):$
 > $\mathrm{vertices}\left(G\right)$
 ${\varnothing }$ (1)
 > $\mathrm{edges}\left(G\right)$
 ${\varnothing }$ (2)