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.

back to the element overview

Element: edge

Description: Describes an edge in the <graph> which contains this <edge>. Occurence: <graph>.

Type: edge.type

Complex type for the <edge> element.  Type is final.

Attributes:

id  (optional)  of type xs:NMTOKEN  identifies this edge .
Identity Constraint Definitions: edge_id_unique

directed  (optional)  of type xs:boolean  overwrites the edgedefault attribute of <graph> .

source  (required)  of type xs:NMTOKEN  points to the id attribute of the source <node>.
Identity Constraint Definitions: edge_source_ref

target  (required)  of type xs:NMTOKEN  points to the id attribute of the target <node>.
Identity Constraint Definitions: edge_target_ref

sourceport  (optional)  of type xs:NMTOKEN  points to the name attribute of the source <port>.

targetport  (optional)  of type xs:NMTOKEN  points to the name attribute of the target <port>.

edge.extra.attrib

Contents:

desc?, data*, graph?

Identity Constraint Definitions:

edge_data_key_unique
Ensures: uniqueness of the key attributes of <data> children of this <edge> element.

back to the element overview
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.