Sha256: 2540fa3652a8410bff62fef08d9a4fdc77a3bd8f0317343363f6338b985a8785

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

<?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="d0" for="node" attr.name="color" attr.type="string">
    <default>yellow</default>
  </key>
  <key id="d1" for="edge" attr.name="weight" attr.type="double"/>
  <graph id="G" edgedefault="undirected">
    <node id="n0">
      <data key="color">green</data>
    </node>
    <node id="n1"/>
    <node id="n2">
      <data key="color">blue</data>
    </node>
    <node id="n3">
      <data key="color">red</data>
    </node>
    <node id="n4"/>
    <node id="n5">
      <data key="color">turquoise</data>
    </node>
    <edge id="e0" source="n0" target="n2">
      <data key="size">1.0</data>
    </edge>
    <edge id="e1" source="n0" target="n1">
      <data key="size">1.0</data>
    </edge>
    <edge id="e2" source="n1" target="n3">
      <data key="size">2.0</data>
    </edge>
    <edge id="e3" source="n3" target="n2"/>
    <edge id="e4" source="n2" target="n4"/>
    <edge id="e5" source="n3" target="n5"/>
    <edge id="e6" source="n5" target="n4">
      <data key="size">1.1</data>
    </edge>
  </graph>
</graphml>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphml2json-0.1.1 spec/fixtures/attributes.graphml
graphml2json-0.1.0 spec/fixtures/attributes.graphml