请输入您要查询的百科知识:

 

词条 GraphML
释义

  1. Overview

  2. See also

  3. References

  4. External links

{{Distinguish|Graph Modelling Language}}{{Infobox file format
| name = GraphML
| icon =
| iconcaption =
| icon_size =
| screenshot =
| screenshot_size =
| caption =
|_noextcode =
| extension =
|_nomimecode =
| mime =
| type code =
| uniform_type =
| conforms_to =
| magic =
| developer = Graph Drawing
| released =
| latest_release_version =
| latest_release_date =
| genre = Graph description language
| container_for =
| contained_by =
| extended_from =
| extended_to =
| standard =
| free =
| url = {{URL|http://graphml.graphdrawing.org/}}
}}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.[1]

Overview

A GraphML file consists of an XML file containing a graph element, within which is an unordered sequence of node and edge elements. Each node element should have a distinct id attribute, and each edge element has source and target attributes that identify the endpoints of an edge by having the same value as the id attributes of those endpoints.

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

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">

Additional features of the GraphML language allow its users to specify whether edges are directed or undirected, and to associate additional data with vertices or edges.

See also

  • yEd, a widespread graph editor that uses GraphML as its native file format (but ports, hypergraphs not supported and limited nested graphs support).
  • Gephi, a graph visualization software that supports a limited set of GraphML.
  • DOT (graph description language)
  • Boost libraries allow to read from and write to GraphML format.

References

1. ^{{Cite book|contribution=Graph Markup Language (GraphML)|first1=Ulrik|last1=Brandes|first2=Markus|last2=Eiglsperger|first3=Jürgen|last3=Lerner|first4=Christian|last4=Pich|url=http://cs.brown.edu/people/rtamassi/gdhandbook/chapters/graphml.pdf|pages=517–541|editor-first=Roberto|editor-last=Tamassia|editor-link=Roberto Tamassia|title=Handbook of Graph Drawing and Visualization|publisher=CRC Press}}.

External links

  • {{Official}}
  • GraphML Primer
  • Comparison between XML to SVG Transformation Mechanisms, showing conversions between GraphML and SVG
{{Graph representations}}

3 : XML markup languages|Graph description languages|XML-based_standards

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/17 20:06:37