DGML (.dgml) Graph Format
DGML file format
Description
Examples
References
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.
Import data from a DGML file as a graph.
G≔Import⁡example/project.dgml,base=datadir
G≔Graph 1: a directed graph with 4 vertices and 3 arc(s)
GraphTheory:-DrawGraph⁡G
Export the Heawood graph to a GraphML file in the home directory of the current user.
HG≔GraphTheory:-SpecialGraphs:-HeawoodGraph⁡
HG≔Graph 2: an undirected graph with 14 vertices and 21 edge(s)
Export⁡heawood.dgml,HG,base=homedir
1414
DGML Schema, microsoft.com
See Also
Formats
GraphTheory
Download Help Document