Directed Graph Markup Language (DGML) is an XML-based file format for directed graphs.

Introduction to DGML

Here is what a simple directed graph with three nodes and two links between them looks like

which looks like this:

The complete XSD schema for DGML is available at . DGML not only allows describing nodes and links in a graph, but also annotating those nodes and links with any user defined property and/or category.

See also

External links

  • homepage of Visual Studio
  • page describing the XSD schema for DGML
  • contains videos showing how to use DGML graphs in Visual Studio
  • , documentation on how to use DGML