Jump to content
Wikipedia The Free Encyclopedia

Graph Modelling Language

From Wikipedia, the free encyclopedia
Not to be confused with GraphML.
Filename extension
.gml
Internet media type
text/vnd.gml
Developed byMichael Himsolt
This article does not cite any sources . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Graph Modelling Language" – news · newspapers · books · scholar · JSTOR
(April 2024) (Learn how and when to remove this message)

Graph Modeling Language (GML) is a hierarchical ASCII-based file format for describing graphs. It has been also named Graph Meta Language.

Example

[edit ]

A simple graph in GML format:

graph [
	comment "This is a sample graph"
	directed 1
	id 42
	label "Hello, I am a graph"
	node [
		id 1
		label "node 1"
		thisIsASampleAttribute 42
	]
	node [
		id 2
		label "node 2"
		thisIsASampleAttribute 43
	]
	node [
		id 3
		label "node 3"
		thisIsASampleAttribute 44
	]
	edge [
		source 1
		target 2
		label "Edge from node 1 to node 2"
	]
	edge [
		source 2
		target 3
		label "Edge from node 2 to node 3"
	]
	edge [
		source 3
		target 1
		label "Edge from node 3 to node 1"
	]
]

Applications supporting GML

[edit ]

See also

[edit ]

References

[edit ]
[edit ]
Graph representations
Data structures
XML-based formats
Text-based formats
Related concepts


Stub icon

This programming-language-related article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /