Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

DGML

From Wikipedia, the free encyclopedia
icon
This articlerelies largely or entirely on asingle source. Relevant discussion may be found on thetalk page. Please helpimprove this article byintroducing citations to additional sources.
Find sources: "DGML" – news ·newspapers ·books ·scholar ·JSTOR
(November 2015)
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 anXML-based file format fordirected 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"?><DirectedGraphxmlns="http://schemas.microsoft.com/vs/2009/dgml"><Nodes><NodeId="a"Label="a"Size="10"/><NodeId="b"Background="#FF008080"Label="b"/><NodeId="c"Label="c"Start="2010-06-10"/></Nodes><Links><LinkSource="a"Target="b"/><LinkSource="a"Target="c"/></Links><Properties><PropertyId="Background"Label="Background"DataType="Brush"/><PropertyId="Label"Label="Label"DataType="String"/><PropertyId="Size"DataType="String"/><PropertyId="Start"DataType="DateTime"/></Properties></DirectedGraph>

which looks like this:

The completeXSD 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]

External links

[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 fromthe original on 22 April 2024. Retrieved22 November 2024.
Graph representations
Data structures
XML-based formats
Text-based formats
Related concepts
Retrieved from "https://en.wikipedia.org/w/index.php?title=DGML&oldid=1259349791"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp