output for CURD operations


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
  <!--Created by yFiles for Java 2.8.0.5-->
  <key for="graphml" id="d0" yfiles.type="resources"/>
  <key attr.name="mykey" attr.type="int" for="node" id="d1">
    <default>0</default>
  </key>
  <graph edgedefault="directed" id="G">
    <node id="n0"/>
    <node id="n1">
      <data key="d1">1</data>
    </node>
    <node id="n2">
      <data key="d1">2</data>
    </node>
    <node id="n3">
      <data key="d1">3</data>
    </node>
    <node id="n4">
      <data key="d1">4</data>
    </node>
    <edge id="e0" source="n0" target="n1"/>
    <edge id="e1" source="n1" target="n2"/>
    <edge id="e2" source="n2" target="n3"/>
    <edge id="e3" source="n3" target="n4"/>
  </graph>
  <data key="d0">
    <y:Resources/>
  </data>
</graphml>

The Updated graphMl looks like this

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
  <!--Created by yFiles for Java 2.8.0.5-->
  <key for="graphml" id="d0" yfiles.type="resources"/>
  <key attr.name="mykey" attr.type="int" for="node" id="d1">
    <default>0</default>
  </key>
  <graph edgedefault="directed" id="G">
    <node id="n0"/>
    <node id="n1">
      <data key="d1">1</data>
    </node>
    <node id="n2">
      <data key="d1">2</data>
    </node>
    <node id="n3">
      <data key="d1">4</data>
    </node>
    <edge id="e0" source="n0" target="n1"/>
    <edge id="e1" source="n1" target="n2"/>
  </graph>
  <data key="d0">
    <y:Resources/>
  </data>
</graphml>



No comments:

Post a Comment