Graph Modeling Language
   HOME

TheInfoList



OR:

Graph Modeling Language (GML) is a hierarchical
ASCII ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
-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 software, open source bioinformatics software platform for Visualization (graphic), visualizing Metabolic network modelling, molecular interaction networks and integrating with gene expression profiles and other state da ...
, an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
bioinformatics software {{short description, none The list of bioinformatics Bioinformatics () is an interdisciplinary field of science that develops methods and Bioinformatics software, software tools for understanding biological data, especially when the data set ...
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 and view the source code, design documents, or content of the product. The open source model is a decentrali ...
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 sele ...
, an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
graph visualization and manipulation software. *
Graph-tool graph-tool is a Python (programming language), Python module for manipulation and statistical analysis of Graph (discrete mathematics), graphs (AKA Network theory, networks). The core data structures and algorithms of graph-tool are implemented ...
, a
free Free may refer to: Concept * Freedom, the ability to act or change without constraint or restriction * Emancipate, attaining civil and political rights or equality * Free (''gratis''), free of charge * Gratis versus libre, the difference betw ...
Python module for manipulation and statistical analysis of graphs. *
NetworkX NetworkX is a Python (programming language), Python library for studying Graph (discrete mathematics), graphs and Network theory, networks. NetworkX is free software released under the BSD-new, BSD-new license. History NetworkX began developm ...
, an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
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 (prog ...
library for studying complex graphs. *
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 application ...
is a free software in the domain of
information visualisation Data and information visualization (data viz/vis or info viz/vis) is the practice of designing and creating graphic or visual representations of a large amount of complex quantitative and qualitative data and information with the help of stat ...
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 software, open-source tools initiated by AT&T Labs, AT&T Labs Research for Graph drawing, drawing graph (discrete mathematics), graphs (as in Vertex (graph theory ...
project includes two command-line tools (gml2gv and gv2gml) that can convert to and from the
DOT A dot is usually a small, round spot. Dot, DoT or DOT may also refer to: Orthography * Full stop or "period", a sentence terminator * Dot (diacritic), a mark above or below a character (e.g. ȧ, ạ, İ, Ċ, ċ, etc.), usually to indicate sou ...
file format. *
Wolfram Language The Wolfram Language ( ) is a proprietary, very high-level multi-paradigm programming language developed by Wolfram Research. It emphasizes symbolic computation, functional programming, and rule-based programming and can employ arbitrary stru ...
, a general very high-level programming language, support
GML import and export


See also

*
Graph Query Language GQL (Graph Query Language) is a standardized query language for property graphs first described in ISO/IEC 39075, released in April 2024 by ISO/IEC. History The GQL project is the culmination of converging initiatives dating back to 2016, pa ...
(GQL) * DGML


References


External links


GML: A portable Graph File Format
Michael Himsolt - 2010/11/30
archived version
* Unravelling Graph-Exchange File Formats, by Matthew Roughan and Jonathan Tuke, 2015, https://arxiv.org/pdf/1503.02781.pdf Computer file formats Graph description languages {{compu-lang-stub