<meta content="StarSuite 8 (Linux)" name="GENERATOR"> <meta content="*" name="AUTHOR"> <meta content="20071029;11490000" name="CREATED"> <meta content="Seaman Wang" name="CHANGEDBY"> <meta content="20080123;10540400" name="CHANGED"> <style type="text/css"> <!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --> </style>
GraphML用于定义图形(graph),对于下面的一个简单图形,
用GraphML描述为:
<?
xmlversion="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" />
< node id ="n2" />
< 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" />
< node id ="n2" />