networks(deprecated)/isplanar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

networks

  

isplanar

  

check the planarity of a graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

isplanar(G)

Parameters

G

-

graph or network

Description

• 

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

• 

This procedure checks the given graph for planarity.

• 

A copy of the graph G is first simplified by use of gsimp() to remove loops and multiple edges.

• 

The result of the procedure call is true if the resulting simple graph has a planar embedding and false otherwise.

• 

This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[isplanar](...).

Examples

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

withnetworks:

isplanarpetersen

false

(1)

isplanaricosahedron

true

(2)

isplanarcomplete5

false

(3)

isplanarcomplete3,3

false

(4)

See Also

GraphTheory

GraphTheory[IsPlanar]

networks(deprecated)[bicomponents]

with