GEXF - Maple Help

Online Help

All Products    Maple    MapleSim


GEXF (.gexf) Graph Format

GEXF file format

 

Description

Examples

References

Description

• 

GEXF (Graph Exchange XML Format) is an XML-based file format for storing a single undirected or directed graph.

• 

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

• 

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

Examples

Import a GEXF file encoding the Petersen graph.

PetersenImportexample/petersen.gexf,base=datadir

PetersenGraph 1: an undirected unweighted graph with 10 vertices and 15 edge(s)

(1)

GraphTheory:-DrawGraphPetersen

Export a Kneser graph to a GEXF file in the home directory of the current user.

KGGraphTheory:-SpecialGraphs:-KneserGraph3,2

KGGraph 2: an undirected unweighted graph with 3 vertices and 0 edge(s)

(2)

Exportkneser.gexf,KG,base=homedir

524

(3)

References

  

GEXF Format, www.gexf.net

See Also

Formats

GraphTheory