DIMACS - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DIMACS (.col, .col.b) Graph Format

DIMACS file format

 

Description

Examples

Description

• 

DIMACS is a file format for storing a single undirected graph. It is has both text and binary variants.

• 

The commands GraphTheory[ImportGraph] and GraphTheory[ExportGraph] can read from and write to the text-based version of this format.

• 

The general-purpose commands Import and Export also support this format.

Examples

Import a DIMACS file encoding the Coxeter graph.

GImportexample/coxeter.col,base=datadir

GGraph 1: an undirected graph with 28 vertices and 42 edge(s)

(1)

GraphTheory:-DrawGraphG,style=spring

See Also

Formats

GraphTheory