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 ...
-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 discr ...
. 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 available f ...
, 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 ...
platform for visualizing molecular interaction networks, loads and save previously-constructed interaction networks in GML.
*
igraph
igraph is a library collection for creating and manipulating graphs and analyzing networks. It is written in C and also exists as Python and R packages. There exists moreover an interface for Mathematica. The software is widely used in academ ...
, 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 se ...
, 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, 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, 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 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) ...
and visualization. SocNetV can load GML formatted text files.
*
Tulip (software) 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 that runs on Windows, Linux, Mac OS, and other platforms that support the Java Virtual Machine.
It is released und ...
, 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 s ...
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-parserwritten 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
JSON (JavaScript Object Notation, pronounced ; also ) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other ser ...
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