Graph Modeling Language

from Wikipedia, the free encyclopedia

Graph Modeling Language (GML), also Graph Meta Language , is a hierarchically structured markup language in ASCII format for modeling graphs . GML is the forerunner of the GraphML data format .

In addition to defining nodes and edges , attributes such as B. Define labels. The selection of attributes is not specified by the GML, which results in a high degree of flexibility in use.

example

A simple example graph in GML:

graph [
	comment "Das ist ein Beispielgraph."
	directed 1
	id 42
	label "Graph"
	node [
		id 1
		label "A"
		weiteresAttribut 42
	]
	node [
		id 2
		label "B"
		weiteresAttribut 43
	]
	node [
		id 3
		label "C"
		weiteresAttribut 44
	]
	edge [
		source 1
		target 2
		label "Kante AB"
	]
	edge [
		source 2
		target 3
		label "Kante BC"
	]
	edge [
		source 3
		target 1
		label "Kante CA"
	]
]

Web links