XML FORMAT

GraphML

GraphML is an XML-based format.

GraphML is an XML-based file format for graphs. It consists of a language core to describe the structural properties of a graph and a flexible extension mechanism to add application-specific data.

It is widely used for representing graph structures and is supported by various graph visualization and analysis tools.

GraphML is an XML-based format. Its one of the most powerful graph exchange formats. The only feature it doesn't have is graph-in-graphs, directly. It can have graphs-in-edges (or nodes), though. The exact spec is a bit hard to get right, as there are DTDs and XSDs, both in 1.0 and 1.1 versions. Minor differences. No clear source of truth. Is beeing replaced in JSON-world with Connected JSON, which started its life as a GraphML to JSON port.

Alternative Names: Graph Markup Language

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

Tools(Read & Write)

Read-only Tools

Write-only Tools

See also

Frequently Asked Questions

What is a GraphML file?

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

How do I open a GraphML file?

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

How do I convert a GraphML file to another format?

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