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

Online Help

All Products    Maple    MapleSim


LEDA (.gw, .lgr) Graph Format

LEDA file format

 

Description

Examples

Description

• 

LEDA is a text-based file format for storing a single directed or undirected graph.

• 

The GraphTheory[ImportGraph] and GraphTheory[ExportGraph] commands can read from and write to this format.

Examples

Import a LEDA file encoding a directed graph.

digraphImportexample/digraph.lgr,base=datadir

digraphGraph 1: a directed graph with 11 vertices and 12 arc(s)

(1)

GraphTheory:-DrawGraphdigraph,style=spring

See Also

Formats

GraphTheory