Skip to content

Commit

Permalink
add datadeps graph data
Browse files Browse the repository at this point in the history
  • Loading branch information
m-fila committed Jun 28, 2024
1 parent f354711 commit b1eb1c9
Show file tree
Hide file tree
Showing 5 changed files with 456 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/datadeps_demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Datadeps demo

Non-realistic example to verify more complex data dependencies

## Data flow
![data flow](img/df.svg)

## Control flow
![control flow](img/cf.svg)

59 changes: 59 additions & 0 deletions data/datadeps_demo/cf.graphml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?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="d6" for="node" attr.name="blocking" attr.type="boolean"/>
<key id="d5" for="node" attr.name="node_id" attr.type="string"/>
<key id="d4" for="node" attr.name="ignoreFilterPassed" attr.type="boolean"/>
<key id="d3" for="node" attr.name="shortCircuit" attr.type="boolean"/>
<key id="d2" for="node" attr.name="sequential" attr.type="boolean"/>
<key id="d1" for="node" attr.name="modeOR" attr.type="boolean"/>
<key id="d0" for="node" attr.name="type" attr.type="string"/>
<graph edgedefault="directed" id="G"><node id="0">
<data key="d0">DecisionHub</data>
<data key="d1">True</data>
<data key="d2">False</data>
<data key="d3">False</data>
<data key="d4">True</data>
<data key="d5">RootDecisionHub</data>
</node>
<node id="1">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">ProducerA</data>
</node>
<node id="2">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">ProducerBC</data>
</node>
<node id="3">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">TransformerAB</data>
</node>
<node id="4">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">ConsumerBC</data>
</node>
<node id="5">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">TransformerC</data>
</node>
<node id="6">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">ConsumerCD</data>
</node>
<node id="7">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">ConsumerE</data>
</node>
<edge source="0" target="1"/>
<edge source="0" target="2"/>
<edge source="0" target="3"/>
<edge source="0" target="4"/>
<edge source="0" target="5"/>
<edge source="0" target="6"/>
<edge source="0" target="7"/>
</graph></graphml>
99 changes: 99 additions & 0 deletions data/datadeps_demo/df.graphml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?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="d4" for="node" attr.name="size_average_B" attr.type="double"/>
<key id="d3" for="node" attr.name="class" attr.type="string"/>
<key id="d2" for="node" attr.name="node_id" attr.type="string"/>
<key id="d1" for="node" attr.name="runtime_average_s" attr.type="double"/>
<key id="d0" for="node" attr.name="type" attr.type="string"/>
<graph edgedefault="directed" id="G"><node id="0">
<data key="d0">Algorithm</data>
<data key="d1">0.11292792300000001</data>
<data key="d2">ProducerA</data>
</node>
<node id="1">
<data key="d0">Algorithm</data>
<data key="d1">0.097099479</data>
<data key="d2">ProducerBC</data>
</node>
<node id="2">
<data key="d0">Algorithm</data>
<data key="d1">0.09882349200000001</data>
<data key="d2">TransformerAB</data>
</node>
<node id="3">
<data key="d0">Algorithm</data>
<data key="d1">0.09981173500000001</data>
<data key="d2">ConsumerBC</data>
</node>
<node id="4">
<data key="d0">Algorithm</data>
<data key="d1">0.086638696</data>
<data key="d2">TransformerC</data>
</node>
<node id="5">
<data key="d0">Algorithm</data>
<data key="d1">0.087558915</data>
<data key="d2">ConsumerCD</data>
</node>
<node id="6">
<data key="d0">Algorithm</data>
<data key="d1">0.10865759500000001</data>
<data key="d2">ConsumerE</data>
</node>
<node id="7">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">1448</data>
<data key="d2">a</data>
</node>
<node id="8">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">189</data>
<data key="d2">b</data>
</node>
<node id="9">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">1200</data>
<data key="d2">c</data>
</node>
<node id="10">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">16.0</data>
<data key="d2">f</data>
</node>
<node id="11">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">2602</data>
<data key="d2">d</data>
</node>
<node id="12">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">16.0</data>
<data key="d2">e</data>
</node>
<node id="13">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">16.0</data>
<data key="d2">g</data>
</node>
<edge source="0" target="7"/>
<edge source="1" target="8"/>
<edge source="1" target="9"/>
<edge source="2" target="10"/>
<edge source="2" target="11"/>
<edge source="2" target="12"/>
<edge source="4" target="13"/>
<edge source="7" target="2"/>
<edge source="8" target="3"/>
<edge source="8" target="2"/>
<edge source="9" target="3"/>
<edge source="9" target="5"/>
<edge source="9" target="4"/>
<edge source="11" target="5"/>
<edge source="12" target="6"/>
</graph></graphml>
102 changes: 102 additions & 0 deletions data/datadeps_demo/img/cf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b1eb1c9

Please sign in to comment.