Graph Modelling Language

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

Filename extension
.gml
Internet media type
text/vnd.gml
Developed byMichael Himsolt

Example

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

  • Cytoscape, an open source bioinformatics software platform for visualizing molecular interaction networks, loads and save previously-constructed interaction networks in GML.
  • Gephi, an open source graph visualization and manipulation software.
  • Graph-tool, a free Python module for manipulation and statistical analysis of graphs.
  • NetworkX, an open source Python library for studying complex graphs.
  • Social Network Visualizer (SocNetV), a free software application for social network analysis and visualization. SocNetV can load GML formatted text files.[1]
  • Tulip (software) is a free software in the domain of information visualisation capable of manipulating huge graphs (with more than 1.000.000 elements).
  • yEd, a free Java-based graph editor, supports import from and export to GML.
  • The Graphviz project includes two command-line tools (gml2gv and gv2gml) that can convert to and from the DOT file format.
  • The Graph Template Library, a C++ library for graphs and algorithms, uses GML for import and export.
  • A sample GML-parser written in C released under the LGPL.
gollark: ++delete all non-gollark applications
gollark: I suppose that could plausibly result in lyricLy marking down the rest?
gollark: Any other ideas? Or ideas about causes for some of the vaguer ones?
gollark: I can see many possibilities:- someone somehow revoked their 10/10 one- LyricLy decided that the 10/10 one was insincere in some way- LyricLy reassigned it 11/10 or something ridiculous- LyricLy marked it down for some reason (new better one?)- LyricLy accidentally deleted one of the 10/10 ones- LyricLy deleted one of them because it criticized his rule- marking system reevaluated
gollark: DId you randomly Ðelete them?

References


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