DGML
{{onesource|date=November 2015}}
{{Infobox file format
| name = DGML
| icon =
| iconcaption =
| icon_size =
| screenshot =
| screenshot_size =
| caption =
| extension =
| mime =
| type_code =
| uniform_type =
| conforms_to =
| magic =
| developer = Microsoft
| released = {{start date and age|2009|09}}
| latest_release_version =
| latest_release_date =
| genre = Directed graph
| container_for =
| contained_by =
| extended_from = XML
| extended_to =
| standard =
| free =
| url = {{URL|https://docs.microsoft.com/en-us/visualstudio/modeling/directed-graph-markup-language-dgml-reference}}
}}
Directed Graph Markup Language (DGML) is an XML-based file format for directed graphs.{{Cite web |last=Jacobs |first=Mike |last2=Hogenson |first2=Gordon |last3=v-alji |first3= |last4=jesong |first4= |date=15 November 2016 |title=Directed Graph Markup Language (DGML) reference - Visual Studio 2015 |url=https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2015/modeling/directed-graph-markup-language-dgml-reference |archive-url=https://web.archive.org/web/20240422213526/https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2015/modeling/directed-graph-markup-language-dgml-reference?view=vs-2015 |archive-date=22 April 2024 |access-date=22 November 2024 |website=learn.microsoft.com |language=en-us}}
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 [http://schemas.microsoft.com/vs/2009/dgml]. 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
- http://msdn.microsoft.com/vstudio homepage of Visual Studio
- http://schemas.microsoft.com/vs/2009/dgml page describing the XSD schema for DGML
- http://www.lovettsoftware.com contains videos showing how to use DGML graphs in Visual Studio
- https://msdn.microsoft.com/en-us/library/dd409365.aspx, documentation on how to use DGML