networks(deprecated)/new - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


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

networks

  

new

  

create a new graph

 

Calling Sequence

Parameters

Description

Examples

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.

withnetworks:

newG:

verticesG

(1)

edgesG

(2)

See Also

GraphTheory

GraphTheory[Graph]

networks(deprecated)[addedge]

networks(deprecated)[addvertex]

networks(deprecated)[complete]

networks(deprecated)[path]

with