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

Online Help

All Products    Maple    MapleSim


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 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 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