ducttape
ducttape copied to clipboard
Graphviz generation doesn't match command-line parameters
There seems to be some mismatching going on inside the viz
command. The DuctTape help message says that unpacked
is the default style -- I would assume that's the most detailed output. However, in reality it seems like a very small graph is created by default, and that a much larger graph is created by --viz-type packed
than by --vis-type unpacked
. Perhaps the code hooked into these two flags is reversed?
Details from actual commands below:
Packed:
$ ducttape full_system.tape -C mysystem.tconf -p large --viz-type packed viz | wc -l
ducttape 0.3
by Jonathan Clark
Reading workflow configuration: mysystem.tconf
Generating GraphViz dot visualization of packed workflow...
42096
Unpacked:
$ ducttape full_system.tape -C mysystem.tconf -p large --viz-type unpacked viz | wc -l
ducttape 0.3
by Jonathan Clark
Reading workflow configuration: mysystem.tconf
Finding hyperpaths contained in plan...
Found 59 vertices implied by realization plan large
Union of all planned vertices has size 59
Generating GraphViz dot visualization of unpacked workflow...
186