diff options
Diffstat (limited to 'champ-lib/champ-core/src/test/resources/import-test.graphml')
-rw-r--r-- | champ-lib/champ-core/src/test/resources/import-test.graphml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/champ-lib/champ-core/src/test/resources/import-test.graphml b/champ-lib/champ-core/src/test/resources/import-test.graphml new file mode 100644 index 0000000..fd13b6b --- /dev/null +++ b/champ-lib/champ-core/src/test/resources/import-test.graphml @@ -0,0 +1,49 @@ +<?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="student" attr.type="boolean"/> + <key id="d1" for="node" attr.name="worth" attr.type="long"/> + <key id="d2" for="node" attr.name="age" attr.type="int"/> + <key id="d3" for="node" attr.name="height" attr.type="float"/> + <key id="d4" for="node" attr.name="weight" attr.type="double"/> + <key id="d5" for="node" attr.name="favoriteColor" attr.type="string"> + <default>green</default> + </key> + <key id="d6" for="node" attr.name="name" attr.type="string"/> + <key id="d7" for="edge" attr.name="at" attr.type="long"/> + <key id="d8" for="node" attr.name="type" attr.type="string"/> + <key id="d9" for="edge" attr.name="type" attr.type="string"/> + <graph id="unit-test" edgedefault="directed"> + <node id="n0"> + <data key="d0">true</data> + <data key="d1">50000</data> + <data key="d2">21</data> + <data key="d3">72.5</data> + <data key="d4">180.5</data> + <data key="d5">yellow</data> + <data key="d6">Ace</data> + <data key="d8">Dog</data> + </node> + <node id="n1"> + <data key="d6">Champ</data> + <data key="d8">Dog</data> + </node> + <node id="n2"> + <data key="d5">blue</data> + <data key="d6">Fido</data> + <data key="d8">Dog</data> + </node> + <node id="n3"> + <data key="d5">red</data> + <data key="d6">Max</data> + <data key="d8">Dog</data> + </node> + <edge id="e0" source="n0" target="n2"> + <data key="d7">12348234</data> + <data key="d9">Dog</data> + </edge> + <edge id="e3" source="n3" target="n2"> + <data key="d9">Dog</data> + </edge> + </graph> +</graphml>
\ No newline at end of file |