Graph Modeling Language
   HOME

TheInfoList



OR:

Graph Modeling Language (GML) is a hierarchical
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
-based file format for describing
graphs Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discre ...
. It has been also named ''Graph Meta Language''.


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 Cytoscape is an open source bioinformatics software platform for visualizing molecular interaction networks and integrating with gene expression profiles and other state data. Additional features are available as plugins. Plugins are availabl ...
, an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
bioinformatics software The list of bioinformatics software tools can be split up according to the license used: *List of proprietary bioinformatics software *List of open-source bioinformatics software Alternatively, here is a categorization according to the respective b ...
platform for visualizing molecular interaction networks, loads and save previously-constructed interaction networks in GML. * igraph, an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
network analysis library with interfaces to multiple programming languages. *
Gephi Gephi ( ) is an open-source network analysis and visualization software package written in Java on the NetBeans platform. History Initially developed by students of the University of Technology of Compiègne (UTC) in France, Gephi has been select ...
, an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
graph visualization and manipulation software. *
Graph-tool graph-tool is a Python module for manipulation and statistical analysis of graphs (AKA networks). The core data structures and algorithms of graph-tool are implemented in C++, making extensive use of metaprogramming, based heavily on the Boos ...
, a
free Free may refer to: Concept * Freedom, having the ability to do something, without having to obey anyone/anything * Freethought, a position that beliefs should be formed only on the basis of logic, reason, and empiricism * Emancipate, to procur ...
Python module for manipulation and statistical analysis of graphs. *
NetworkX NetworkX is a Python library for studying graphs and networks. NetworkX is free software released under the BSD-new license. Features * Classes for graphs and digraphs. * Conversion of graphs to and from several formats. * Ability to const ...
, an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
library for studying complex graphs.
Social Network Visualizer
(SocNetV), a free software application for
social network analysis Social network analysis (SNA) is the process of investigating social structures through the use of networks and graph theory. It characterizes networked structures in terms of ''nodes'' (individual actors, people, or things within the network) a ...
and visualization. SocNetV can load GML formatted text files. *
Tulip (software) Tulip is an information visualization framework dedicated to the analysis and visualization of relational data. Tulip aims to provide the developer with a complete library, supporting the design of interactive information visualization applicati ...
is a free software in the domain of
information visualisation Data and information visualization (data viz or info viz) is an interdisciplinary field that deals with the graphic representation of data and information. It is a particularly efficient way of communicating when the data or information is num ...
capable of manipulating huge graphs (with more than 1.000.000 elements). *
yEd yEd is a general-purpose diagramming program with a multi-document interface. It is a cross-platform application written in Java (programming language), Java that runs on Windows, Linux, Mac OS, and other platforms that support the Java Virtual ...
, a free Java-based graph editor, supports import from and export to GML. * The
Graphviz Graphviz (short for ''Graph Visualization Software'') is a package of open-source tools initiated by AT&T Labs Research for drawing graphs specified in DOT language scripts having the file name extension "gv". It also provides libraries for sof ...
project includes two command-line tools (gml2gv and gv2gml) that can convert to and from the DOT file format. * Th
Graph Template Library
a C++ library for graphs and algorithms, uses GML for import and export. * A sampl
GML-parser
written in C released under the LGPL.


See also

*
Graph Query Language GQL (Graph Query Language) is a proposed standard graph query language. In September 2019 a proposal for a project to create a new standard graph query language (ISO/IEC 39075 Information Technology — Database Languages — GQL) was approved by ...
(GQL) * Json Graph https://github.com/jsongraph/json-graph-specification * Unravelling Graph-Exchange File Formats, by Matthew Roughan and Jonathan Tuke, 2015, https://arxiv.org/pdf/1503.02781.pdf


References


External links


GML: A portable Graph File Format
Michael Himsolt - 2010/11/30
archived version
Computer file formats Graph description languages {{compu-lang-stub