Skip to content

Commit

Permalink
add sequential workflow data (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-fila authored Jul 9, 2024
1 parent ba92db7 commit 06c132f
Show file tree
Hide file tree
Showing 5 changed files with 371 additions and 0 deletions.
11 changes: 11 additions & 0 deletions data/sequential_demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Sequential demo

Non-realistic example with a single sequential chain of algorithms

## Data flow

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

## Control flow

![control flow](img/cf.svg)
53 changes: 53 additions & 0 deletions data/sequential_demo/cf.graphml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?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">TransformerA</data>
</node>
<node id="3">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">TransformerB</data>
</node>
<node id="4">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">TransformerC</data>
</node>
<node id="5">
<data key="d0">Algorithm</data>
<data key="d6">False</data>
<data key="d5">TransformerD</data>
</node>
<node id="6">
<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"/>
</graph></graphml>
77 changes: 77 additions & 0 deletions data/sequential_demo/df.graphml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?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.10</data>
<data key="d2">ProducerA</data>
</node>
<node id="1">
<data key="d0">Algorithm</data>
<data key="d1">0.05</data>
<data key="d2">TransformerA</data>
</node>
<node id="2">
<data key="d0">Algorithm</data>
<data key="d1">0.04</data>
<data key="d2">TransformerB</data>
</node>
<node id="3">
<data key="d0">Algorithm</data>
<data key="d1">0.03</data>
<data key="d2">TransformerC</data>
</node>
<node id="4">
<data key="d0">Algorithm</data>
<data key="d1">0.02</data>
<data key="d2">TransformerD</data>
</node>
<node id="5">
<data key="d0">Algorithm</data>
<data key="d1">0.01</data>
<data key="d2">ConsumerE</data>
</node>
<node id="6">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">256</data>
<data key="d2">a</data>
</node>
<node id="7">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">128</data>
<data key="d2">b</data>
</node>
<node id="8">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">64</data>
<data key="d2">c</data>
</node>
<node id="9">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">32</data>
<data key="d2">d</data>
</node>
<node id="10">
<data key="d0">DataObject</data>
<data key="d3">DataObject</data>
<data key="d4">16.0</data>
<data key="d2">e</data>
</node>
<edge source="0" target="6"/>
<edge source="1" target="7"/>
<edge source="2" target="8"/>
<edge source="3" target="9"/>
<edge source="4" target="10"/>
<edge source="6" target="1"/>
<edge source="7" target="2"/>
<edge source="8" target="3"/>
<edge source="9" target="4"/>
<edge source="10" target="5"/>
</graph></graphml>
91 changes: 91 additions & 0 deletions data/sequential_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.
139 changes: 139 additions & 0 deletions data/sequential_demo/img/df.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 06c132f

Please sign in to comment.