DGML (.dgml) Graph Format - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

DGML (.dgml) Graph Format

DGML file format

 

Description

Examples

References

Description

• 

DGML (Directed Graph Markup Language) is an XML-based file format for storing a directed graph, typically representing program dependencies. It was developed by Microsoft.

• 

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 data from a DGML file as a graph.

GImportexample/project.dgml,base=datadir

GGraph 1: a directed unweighted graph with 4 vertices and 3 arc(s)

(1)

GraphTheory:-DrawGraphG

Export the Heawood graph to a GraphML file in the home directory of the current user.

HGGraphTheory:-SpecialGraphs:-HeawoodGraph

HGGraph 2: an undirected unweighted graph with 14 vertices and 21 edge(s)

(2)

Exportheawood.dgml,HG,base=homedir

1414

(3)

References

  

DGML Schema, microsoft.com

See Also

Formats

GraphTheory