| CARVIEW |
Select Language
HTTP/2 200
date: Sun, 18 Jan 2026 07:07:01 GMT
server: mw-web.codfw.main-5bcb4c5895-86qh8
x-content-type-options: nosniff
content-language: en
accept-ch:
content-security-policy-report-only: script-src 'unsafe-eval' blob: 'self' meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikifunctions.org *.wikivoyage.org *.mediawiki.org 'unsafe-inline' auth.wikimedia.org; default-src 'self' data: blob: upload.wikimedia.org https://commons.wikimedia.org meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikifunctions.org *.wikivoyage.org *.mediawiki.org wikimedia.org en.wikibooks.org en.wikinews.org en.wikiquote.org en.wikisource.org en.wikiversity.org en.wikivoyage.org en.wiktionary.org www.mediawiki.org api.wikimedia.org commons.wikimedia.org foundation.wikimedia.org incubator.wikimedia.org species.wikimedia.org wikimania.wikimedia.org www.wikidata.org www.wikifunctions.org auth.wikimedia.org; style-src 'self' data: blob: upload.wikimedia.org https://commons.wikimedia.org meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikifunctions.org *.wikivoyage.org *.mediawiki.org wikimedia.org 'unsafe-inline'; object-src 'none'; report-uri /w/api.php?action=cspreport&format=json&reportonly=1
last-modified: Thu, 15 Jan 2026 22:49:09 GMT
content-type: text/html; charset=UTF-8
content-encoding: gzip
age: 0
accept-ranges: bytes
x-cache: cp5017 miss, cp5017 miss
x-cache-status: miss
server-timing: cache;desc="miss", host;desc="cp5017"
strict-transport-security: max-age=106384710; includeSubDomains; preload
report-to: { "group": "wm_nel", "max_age": 604800, "endpoints": [{ "url": "https://intake-logging.wikimedia.org/v1/events?stream=w3c.reportingapi.network_error&schema_uri=/w3c/reportingapi/network_error/1.0.0" }] }
nel: { "report_to": "wm_nel", "max_age": 604800, "failure_fraction": 0.05, "success_fraction": 0.0}
set-cookie: WMF-Last-Access=18-Jan-2026;Path=/;HttpOnly;secure;Expires=Thu, 19 Feb 2026 00:00:00 GMT
set-cookie: WMF-Last-Access-Global=18-Jan-2026;Path=/;Domain=.wikipedia.org;HttpOnly;secure;Expires=Thu, 19 Feb 2026 00:00:00 GMT
set-cookie: WMF-DP=b12;Path=/;HttpOnly;secure;Expires=Sun, 18 Jan 2026 00:00:00 GMT
x-client-ip: 134.209.151.76
cache-control: private, s-maxage=0, max-age=0, must-revalidate, no-transform
vary: Accept-Encoding,X-Subdomain,Cookie,Authorization,User-Agent
set-cookie: GeoIP=IN:KA:Bengaluru:12.98:77.59:v4; Path=/; secure; Domain=.wikipedia.org
set-cookie: NetworkProbeLimit=0.001;Path=/;Secure;SameSite=None;Max-Age=3600
set-cookie: WMF-Uniq=NpbFuBqFwf7nO13_8Rke-wLsAAAAAFvdPFguQoThxGfMsjfA1_yJEC0oSzx4153R;Domain=.wikipedia.org;Path=/;HttpOnly;secure;SameSite=None;Expires=Mon, 18 Jan 2027 00:00:00 GMT
x-request-id: b4ea4a0b-42d9-4ab7-8196-c1bdacb74d67
x-analytics:
Graph Modelling Language - Wikipedia
Jump to content
Graph Modelling Language
Tools
Actions
General
Print/export
In other projects
Appearance
From Wikipedia, the free encyclopedia
ASCII-based file format for describing graphs
Not to be confused with GraphML.
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Graph Modelling Language" – news · newspapers · books · scholar · JSTOR (July 2025) (Learn how and when to remove this message) |
| Filename extension |
.gml |
|---|---|
| Internet media type |
text/vnd.gml |
| Developed by | Michael Himsolt |
Graph Modeling Language (GML) is a hierarchical ASCII-based file format for describing graphs. It has been also named Graph Meta Language.
Example
[edit]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
[edit]- Cytoscape, an open source bioinformatics software platform for visualizing molecular interaction networks, loads and save previously-constructed interaction networks in GML.
- igraph, an open source network analysis library with interfaces to multiple programming languages.
- 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.
- 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.
- Wolfram Language, a general very high-level programming language, supports GML import and export.
See also
[edit]- Graph Query Language (GQL)
- DGML
References
[edit]- ^ Plenz, M., Frank, A., Graph Language Models, 2401.07105, cs.CL, 2024, https://arxiv.org/abs/2401.07105, access date: 2025-07-03
External links
[edit]- GML: A portable Graph File Format, Michael Himsolt - 2010/11/30 ()
- Unravelling Graph-Exchange File Formats, by Matthew Roughan and Jonathan Tuke, 2015, https://arxiv.org/pdf/1503.02781.pdf
Graph representations | |
|---|---|
| Data structures | |
| XML-based formats | |
| Text-based formats |
|
| Related concepts | |
This programming-language-related article is a stub. You can help Wikipedia by adding missing information. |
Graph Modelling Language