Scroll to navigation

planarity(1) General Commands Manual planarity(1)

NAME

planarity - The Edge Addition Planarity Suite

SYNOPSIS

planarity [-q] [-h|-help] [-i|-info] [-r] [-s] [-rm] [-rn]

DESCRIPTION

Invokes the Edge Addition Planarity Suite commandline tool.

Without argument, the tool presents a menu-driven interactive interface.

When used in batch mode, the tool returns 0 for a planar graph, 1 for a nonplanar graph and -1 on error.

OPTIONS

Quiet mode
Display some help
Display copyright, license and reference articles information

FEATURES

Features in batch mode.

Run the C command (see below) on K random graphs with N vertices
Run the C command (see below) on a specific graph given in the I input file, with output in the primary O file and complementary information in the secondary O2 file.
Compute a maximal planar random graph on N vertices with output in the primary O file and optionally the chosen graph in the O2 file.
Compute a nonplanar random graph (maximal planar and an edge) on N vertices with output in the primary O file and optionally the chosen graph in the O2 file.

COMMANDS

Determine which algorithm implementation to run

Planar embedding and Kuratowski subgraph isolation
Planar graph drawing by visibility representation
Outerplanar embedding and obstruction isolation
-2
Search for subgraph homeomorphic to K_{2,3}
-3
Search for subgraph homeomorphic to K_{3,3}
-4
Search for subgraph homeomorphic to K_4
All of the above

EXAMPLES

Process infile.txt in quiet mode (-q), putting planar embedding in embedding.out or (optionally) a Kuratowski subgraph in Obstruction.out Process returns 0=planar, 1=nonplanar, -1=error
If graph in infile.txt is planar, then put embedding in embedding.out and (optionally) an ASCII art drawing in drawing.out Process returns 0=planar, 1=nonplanar, -1=error

SEE ALSO

planarity -h -menu for more information.