GraphML用于定义图形(graph),对于下面的一个简单图形, 用GraphML描述为: <? 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" /> < node id ="n2" /> < node id ="n3" /> < node