LEDA (.gw, .lgr) Graph Format - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Input and Output : File Formats : Formats/LEDA

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 unweighted graph with 11 vertices and 12 arc(s)

(1)

GraphTheory:-DrawGraphdigraph,style=spring

See Also

Formats

GraphTheory