jigneshvasoya / ruffus

Automatically exported from code.google.com/p/ruffus
MIT License
0 stars 0 forks source link

Customisable flowchart appearance #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Flowchart appearance should be developer customisable (via a parameter file?)
A. Heger

Original issue reported on code.google.com by bunbu...@gmail.com on 15 Jul 2010 at 10:09

GoogleCodeExporter commented 9 years ago
It would also be helpful to indicate which files are output from each task 
beneath each task in the flowchart.  

Currently I pull the flowchart into Inkscape to do manual annotation with 
output filenames.

Perhaps the hypothetical parameter file described in the initial issue could 
contain a function to manipulate filenames for customizing output (e.g., lambda 
x: os.path.basename(x)).  

Original comment by ryankd...@gmail.com on 24 Aug 2010 at 5:28

GoogleCodeExporter commented 9 years ago
Like issue 28, this might or might not be easily do-able. 

The constraint is that Ruffus currently uses graphviz/dot to produce flowchart 
output (but see issue 32 from A. Heger). So we are limited by what dot will 
produce.

Playing around, it seems I can fake file lists if there are not too many files. 
Would this be what you mean?
(See attached svg file)

I guess by default it would be input/output, but you can supply a lambda to do 
something with them.

The alternatives would be
1) post-process svg files (which would definitely be needed for issue 28) or
2) write a completely new (multi-format) flowchart generator.... :-)

Original comment by bunbu...@gmail.com on 25 Aug 2010 at 5:02

GoogleCodeExporter commented 9 years ago
Flowchart in png format

Original comment by bunbu...@gmail.com on 25 Aug 2010 at 5:16

Attachments:

GoogleCodeExporter commented 9 years ago
The example looks great.  Is this in SVN?

Original comment by ryankd...@gmail.com on 5 Oct 2010 at 3:51

GoogleCodeExporter commented 9 years ago

Original comment by bunbu...@gmail.com on 14 May 2014 at 10:33

GoogleCodeExporter commented 9 years ago
Added @graphviz decorator to v 2.5

Original comment by bunbu...@gmail.com on 10 Dec 2014 at 3:28

GoogleCodeExporter commented 9 years ago
Added @graphviz decorator to v 2.5

Original comment by bunbu...@gmail.com on 10 Dec 2014 at 3:28