TEXT FORMAT

GML

Graph Modelling Language (GML) is a hierarchical ASCII-based format for graphs. See Gephis page for details.

Hierarchical text format for graphs with arbitrary key-value attributes.

Alternative Names: Graph Modelling Language

File Extensions: .gml Mimetype: text/plain
FeatureGML
Multiple Graphs per Document supported
Nodes supported
Undirected Edges supported
Directed Edges supported
Hyperedges not supported
Mixed-directionality Edges not supported
Parallel Edges supported
Self-loops supported
Edges on Edges not supported
Nested Graphs in Nodes supported
Nested Graphs in Edges not supported
Nested Graphs in Graphs supported
Node Labels supported
Edge Labels supported
Attributes on Nodes supported
Attributes on Edges supported
Attributes on Graphs supported
Typed Edges partial

Tools(Read & Write)

Read-only Tools

Frequently Asked Questions

What is a GML file?

A GML file stores a graph — its nodes, edges and attributes — in the GML format (also: Graph Modelling Language). See the feature table above for what it supports.

How do I open a GML file?

Open it in a graph tool that supports GML, or convert it to a format your tool reads. With GraphInOut you can convert GML to GraphML, DOT, Connected JSON and more, right in your browser.

How do I convert a GML file to another format?

Use the Convert from GML link above: upload or paste your GML file (input preset to GML), choose a target format and download the result — free, no install.