DGML

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

DGML
Developed byMicrosoft
Initial releaseSeptember 2009 (2009-09)
Type of formatDirected graph
Extended fromXML
Websitedocs.microsoft.com/en-us/visualstudio/modeling/directed-graph-markup-language-dgml-reference

Introduction to DGML

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="http://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 . 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.

gollark: no.
gollark: HELP ME I CANNOT DECIDE ON THINGS
gollark: <@332271551481118732> Your thoughts? The existing UI allows you to have multiple notes open, but it's quite buggy wrt. scrolling when you open new ones, is somewhat harder to implement than just having one page open at once, and arguably takes attention away from your notes' contents.
gollark: I still don't actually have login working properly, so if you're not logged in it'll just get stuck on "Loading..." and you have to manually send a POST request to the login API endpoint.
gollark: This is the minoteaur UI as of now.

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.