GraphML
Encyclopedia
GraphML is an XML
-based file format for graphs
. The GraphML file format results from the joint effort of the graph drawing
community to define a common format for exchanging graph structure data. It uses an XML-based syntax and supports the entire range of possible graph structure constellations including directed, undirected, mixed graphs, hypergraphs, and application-specific attributes.
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
-based file format for graphs
Graph (mathematics)
In mathematics, a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected objects are represented by mathematical abstractions called vertices, and the links that connect some pairs of vertices are called edges...
. The GraphML file format results from the joint effort of the graph drawing
Graph drawing
Graph drawing is an area of mathematics and computer science combining methods from geometric graph theory and information visualization to derive two-dimensional depictions of graphs arising from applications such as social network analysis, cartography, and bioinformatics...
community to define a common format for exchanging graph structure data. It uses an XML-based syntax and supports the entire range of possible graph structure constellations including directed, undirected, mixed graphs, hypergraphs, and application-specific attributes.
Introduction to GraphML
Here is what a simple undirected graph with 2 nodes and one edge between them looks like:Other Graph File Formats
- GXLGXLGXL is designed to be a standard exchange format for graphs. GXL is an extensible markup language sublanguage and the syntax is given by an XML document type definition...
, graph exchange format based on XML -- GXL - Trivial Graph FormatTrivial Graph FormatTrivial Graph Format is a simple text-based file format for describing graphs. It consists of a list of node definitions, which map node IDs to labels, followed by a list of edges, which specify node pairs and an optional edge label...
, simple text based format - GMLGraph Modelling LanguageGraph Modelling Language 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...
is another widely used graph exchange format. -- GML - DGMLDGML- Introduction to DGML :Here is what a simple directed graph with three nodes and two links between them looks like which looks like this:The complete XSD schema for DGML is available at...
, Directed Graph Markup Language from Microsoft - XGMMLXGMMLXGMML is an XML application based on GML which is used for graph description...
an XML-based graph markup language closely related to GMLGMLGML may refer to:* Middle Low German , a language used around the North Sea and the Baltic Sea from 1100 to 1600* Gostomel Airport , an international cargo airport, near Kiev, Ukraine* Gradient Multi-Layer nano-film...
-- XGMML - Dot LanguageDOT languageDOT is a plain text graph description language. It is a simple way of describing graphs that both humans and computer programs can use. DOT graphs are typically files that end with the .gv extension. The .gv extension is preferred, as .dot also is used by Microsoft Office 2003.Various programs...
, a format for describing graphs and their presentation, for the GraphvizGraphvizGraphviz is a package of open-source tools initiated by AT&T Labs Research for drawing graphs specified in DOT language scripts. It also provides libraries for software applications to use the tools...
set of tools.
See also
- XMLXMLExtensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
- Scalable Vector GraphicsScalable Vector GraphicsScalable Vector Graphics is a family of specifications of an XML-based file format for describing two-dimensional vector graphics, both static and dynamic . The SVG specification is an open standard that has been under development by the World Wide Web Consortium since 1999.SVG images and their...
(SVG) is an XML-based graphics format. - yEdYEdyEd is a freely available, general-purpose diagramming software with amulti-document interface.It is a cross-platform application written in Java that runs on Windows, Linux, Mac OS, or any platform that supports the JVM....
, a widespread graph editor that uses GraphML as its native file format.
External links
- http://graphml.graphdrawing.org/ homepage of GraphML
- http://graphml.graphdrawing.org/primer/graphml-primer.html An easy introduction to GraphML is the GraphML Primer.
- http://www.svgopen.org/2003/papers/ComparisonXML2SVGTransformationMechanisms/ Comparison between XML to SVG Transformation Mechanisms