The GraphML Schema Documentation

Home Download Specification Examples About
Links:
File Format Links
GXL - an XML-based graph exchange format developed for software re-engineering.

GraphXML - XML-based file format for graphs that was presented at Graph Drawing 2000 and is superseded by GraphML.

GML - a widely used graph exchange format (non-XML).

XGMML - an XML-based file format for graphs based on GML.

SVG - an XML-based graphics format.

Graph Drawing Links
www.graphdrawing.org - home of graph drawing

GD 2004 - 12th Int. Symp. Graph Drawing, 12-14 Sep 2004, Harlem, NYC

XML Links
XML - home of the Extensible Markup Language at the World Wide Web Consortium.

The GraphML Schema version 1.0 is located at http://graphml.graphdrawing.org/xmlns/1.0/graphml-structure.xsd


-> Elements

Types:

key.for.type
Simple type for the for attribute of <key>. key.for.type is a restriction of xs:NMTOKEN Allowed values: all, graph, node, edge, hyperedge, port and endpoint.
graph.edgedefault.type
Simple type for the edgedefault attribute of <graph>. graph.edgedefault.type is a restriction of xs:NMTOKEN Allowed values: directed, undirected.
endpoint.type.type
Simple type for the type attribute of <endpoint>. endpoint.type.type is a restriction of xs:NMTOKEN Allowed values: in, out, undir.
data-extension.type
Extension mechanism for the content of <data> and <default>. The complex type data-extension.type is empty per default. Users may redefine this type in order to add content to the complex types data.type and default.type which are extensions of data-extension.type.
data.type
Complex type for the <data> element. data.type is mixed, that is, <data> may contain #PCDATA. Content type: extension of data-extension.type which is empty per default.
default.type
Complex type for the <default> element. default.type is mixed, that is, data may contain #PCDATA. Content type: extension of data-extension.type which is empty per default.
key.type
Complex type for the <key> element.
graphml.type
Complex type for the <graphml> element.
graph.type
Complex type for the <graph> element.
node.type
Complex type for the <node> element.
port.type
Complex type for the <port> element.
edge.type
Complex type for the <edge> element.
hyperedge.type
Complex type for the <hyperedge> element.
endpoint.type
Complex type for the <endpoint> element.
locator.type
Complex type for the <locator> element. Content type: (empty)
News:
coming soon
LEDA extension package for GraphML.
18 March 2003
XML Schema specification and documentation available for GraphML 1.0rc (release candidate)
23 July 2002
GraphML presentation at the annual meeting of DFG Research Priority 1126 Algorithmic Aspects of Large and Complex Networks. (ps, pdf)
28 June 2002
yFiles extension package for GraphML version 1.0 released.
22 May 2002
Release candidates for extensions graphml-attributes (for data attributes) and graphml-parseinfo (for lightweight parsers) completed. See current specification.
12 March 2002
GraphML proposed as the standard format for the network data archive to be created within EU FET Open Project COSIN.