GraphML

XML-basiertes Dateiformat für die Repräsentation von Graphen
Dies ist eine alte Version dieser Seite, zuletzt bearbeitet am 8. November 2009 um 21:43 Uhr durch imported>JeffDonner (Added 'DOT_language'. I hope that's ok, as it mixes presentation in as well. However, it's probably the language that more people see than any other.). Sie kann sich erheblich von der aktuellen Version unterscheiden.

GraphML is an XML-based file format for graphs.

Introduction to GraphML

Here is what a simple undirected graph with 2 nodes and one edge between them looks like:

<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"  
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
     http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G" edgedefault="undirected">
    <node id="n0"/>
    <node id="n1"/>
    <edge id="e1" source="n0" target="n1"/>
  </graph>
</graphml>

Other Graph File Formats

  • XGMML an XML-based graph markup language closely related to GML -- XGMML
  • DOT_language, a format for describing graphs and their presentation, for the Grapviz set of tools.

See also


Vorlage:Compu-lang-stub