Graph Modelling Language
This article needs additional citations for verification. (July 2025) |
| 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
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.
- 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
- Graph Query Language (GQL)
- DGML
References
- ^ 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
- 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
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.