Version 1
graph
[
  directed 0
  name "Petersen's graph"
  vertices 10
  edges 15
  famous 1
  node
  [
    id 1
    name "foo"
    isfirst 1
  ]
  node
  [
    id 2
    name "foobar"
    isfirst 0
  ]
  node
  [
    id 3
    name ""
    isfirst 0
  ]
  node
  [
    id 4
    name ""
    isfirst 0
  ]
  node
  [
    id 5
    name ""
    isfirst 0
  ]
  node
  [
    id 6
    name ""
    isfirst 0
  ]
  node
  [
    id 7
    name ""
    isfirst 0
  ]
  node
  [
    id 8
    name ""
    isfirst 0
  ]
  node
  [
    id 9
    name ""
    isfirst 0
  ]
  node
  [
    id 10
    name ""
    isfirst 0
  ]
  edge
  [
    source 2
    target 1
    id 1
    name "FOO"
    isfirst 1
  ]
  edge
  [
    source 5
    target 1
    id 2
    name "FOOBAR"
    isfirst 0
  ]
  edge
  [
    source 6
    target 1
    id 3
    name ""
    isfirst 0
  ]
  edge
  [
    source 3
    target 2
    id 4
    name ""
    isfirst 0
  ]
  edge
  [
    source 7
    target 2
    id 5
    name ""
    isfirst 0
  ]
  edge
  [
    source 4
    target 3
    id 6
    name ""
    isfirst 0
  ]
  edge
  [
    source 8
    target 3
    id 7
    name ""
    isfirst 0
  ]
  edge
  [
    source 5
    target 4
    id 8
    name ""
    isfirst 0
  ]
  edge
  [
    source 9
    target 4
    id 9
    name ""
    isfirst 0
  ]
  edge
  [
    source 10
    target 5
    id 10
    name ""
    isfirst 0
  ]
  edge
  [
    source 8
    target 6
    id 11
    name ""
    isfirst 0
  ]
  edge
  [
    source 9
    target 6
    id 12
    name ""
    isfirst 0
  ]
  edge
  [
    source 9
    target 7
    id 13
    name ""
    isfirst 0
  ]
  edge
  [
    source 10
    target 7
    id 14
    name ""
    isfirst 0
  ]
  edge
  [
    source 10
    target 8
    id 15
    name ""
    isfirst 0
  ]
]
<?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">

  <key id="g_name" for="graph" attr.name="name" attr.type="string"/>
  <key id="g_vertices" for="graph" attr.name="vertices" attr.type="double"/>
  <key id="g_edges" for="graph" attr.name="edges" attr.type="double"/>
  <key id="g_famous" for="graph" attr.name="famous" attr.type="boolean"/>
  <key id="v_id" for="node" attr.name="id" attr.type="double"/>
  <key id="v_name" for="node" attr.name="name" attr.type="string"/>
  <key id="v_is_first" for="node" attr.name="is_first" attr.type="boolean"/>
  <key id="e_id" for="edge" attr.name="id" attr.type="double"/>
  <key id="e_name" for="edge" attr.name="name" attr.type="string"/>
  <key id="e_is_first" for="edge" attr.name="is_first" attr.type="boolean"/>
  <graph id="G" edgedefault="undirected">
    Petersen's graph
    10
    15
    true
    <node id="n0">
      1
      foo
      true
    </node>
    <node id="n1">
      2
      foobar
      false
    </node>
    <node id="n2">
      3
      
      false
    </node>
    <node id="n3">
      4
      
      false
    </node>
    <node id="n4">
      5
      
      false
    </node>
    <node id="n5">
      6
      
      false
    </node>
    <node id="n6">
      7
      
      false
    </node>
    <node id="n7">
      8
      
      false
    </node>
    <node id="n8">
      9
      
      false
    </node>
    <node id="n9">
      10
      
      false
    </node>
    <edge source="n0" target="n1">
      1
      FOO
      true
    </edge>
    <edge source="n0" target="n4">
      2
      FOOBAR
      false
    </edge>
    <edge source="n0" target="n5">
      3
      
      false
    </edge>
    <edge source="n1" target="n2">
      4
      
      false
    </edge>
    <edge source="n1" target="n6">
      5
      
      false
    </edge>
    <edge source="n2" target="n3">
      6
      
      false
    </edge>
    <edge source="n2" target="n7">
      7
      
      false
    </edge>
    <edge source="n3" target="n4">
      8
      
      false
    </edge>
    <edge source="n3" target="n8">
      9
      
      false
    </edge>
    <edge source="n4" target="n9">
      10
      
      false
    </edge>
    <edge source="n5" target="n7">
      11
      
      false
    </edge>
    <edge source="n5" target="n8">
      12
      
      false
    </edge>
    <edge source="n6" target="n8">
      13
      
      false
    </edge>
    <edge source="n6" target="n9">
      14
      
      false
    </edge>
    <edge source="n7" target="n9">
      15
      
      false
    </edge>
  </graph>
</graphml>
