DGML
Developed byMicrosoft
Initial releaseSeptember 2009; 16 years ago (2009-09)
Type of formatDirected graph
Extended fromXML
Websitedocs.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.[1]

Introduction to DGML

edit

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

<?xml version="1.0" encoding="utf-8"?>
<DirectedGraph xmlns="https://schemas.microsoft.com/vs/2009/dgml">
  <Nodes>
    <Node Id="a" Label="a" Size="10" />
    <Node Id="b" Background="#FF008080" Label="b" />
    <Node Id="c" Label="c" Start="2010-06-10" />
  </Nodes>
  <Links>
    <Link Source="a" Target="b" />
    <Link Source="a" Target="c" />
  </Links>
  <Properties>
    <Property Id="Background" Label="Background" DataType="Brush" />
    <Property Id="Label" Label="Label" DataType="String" />
    <Property Id="Size" DataType="String" />
    <Property Id="Start" DataType="DateTime" />
  </Properties>
</DirectedGraph>

which looks like this:

The complete XSD schema for DGML is available at [1]. 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

edit
edit

References

edit
  1. ^ Jacobs, Mike; Hogenson, Gordon; v-alji; jesong (15 November 2016). "Directed Graph Markup Language (DGML) reference - Visual Studio 2015". learn.microsoft.com. Archived from the original on 22 April 2024. Retrieved 22 November 2024.

📚 Artikel Terkait di Wikipedia

Cosmopolitan localism

of the digital commons and the motto "design global, manufacture local" (DGML). This system is built around a commons and entails the social practices

Graph Modelling Language

programming language, supports GML import and export. Graph Query Language (GQL) DGML Plenz, M., Frank, A., Graph Language Models, 2401.07105, cs.CL, 2024, https://arxiv

Mining in India

Jonnagiri district Gold Jonnagiri, Andhra Pradesh Deccan Gold Mines Ltd (DGML), the first and only gold exploration company listed on BSE, has a significant

Anartioschiza persquamosa

Anartioschiza persquamosa Wikidata: Q14858314 Wikispecies: Anartioschiza persquamosa BioLib: 1221532 CoL: DGML GBIF: 1063237 Open Tree of Life: 4626168