Formats/GDF - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Formats/GDF

GDF (.gdf) Graph Format

GDF file format

 

Description

Examples

Description

• 

GDF is a simple text-based file format for storing a graph first used by the GUESS graph visualization software.

• 

It also allows the application of labels to vertices and edges.

• 

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 GDF file encoding a graph.

GImportexample/mirzakhani.gdf,base=datadir

GGraph 1: an undirected graph with 63 vertices and 183 edge(s)

(1)

GraphTheory:-DrawGraphG,style=spring

Export the Dyck graph to a GDF file in the home directory of the current user.

DGGraphTheory:-SpecialGraphs:-DyckGraph

DGGraph 2: an undirected graph with 32 vertices and 48 edge(s)

(2)

Exportdyck.gdf,DG,base=homedir

437

(3)

See Also

Formats

GraphTheory