Skip to content

Commit

Permalink
Reorganize data for demo workflows, add sequential and parallel w…
Browse files Browse the repository at this point in the history
…orkflows (#22)

* move data for demo workflows under demo directory

normalize file names

* format graphml files with xmllint

add script to format xml (later change to pre-commit)

* move sequential to sequential terminated

* add sequential workflow not terminated by an algorithm

* replace another_test_graph with parallel workflow

* update paths to data files
  • Loading branch information
m-fila authored Jul 11, 2024
1 parent 41a471b commit c93d85a
Show file tree
Hide file tree
Showing 41 changed files with 36,903 additions and 35,512 deletions.
11,423 changes: 5,713 additions & 5,710 deletions data/ATLAS/q449/cf.graphml

Large diffs are not rendered by default.

58,381 changes: 29,192 additions & 29,189 deletions data/ATLAS/q449/df.graphml

Large diffs are not rendered by default.

59 changes: 0 additions & 59 deletions data/datadeps_demo/cf.graphml

This file was deleted.

100 changes: 0 additions & 100 deletions data/datadeps_demo/df.graphml

This file was deleted.

File renamed without changes.
62 changes: 62 additions & 0 deletions data/demo/datadeps/cf.graphml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?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>
102 changes: 102 additions & 0 deletions data/demo/datadeps/df.graphml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<?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>
File renamed without changes
File renamed without changes
11 changes: 11 additions & 0 deletions data/demo/parallel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Parallel demo

Non-realistic example with parallel algorithm execution

## Data flow

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

## Control flow

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

0 comments on commit c93d85a

Please sign in to comment.