makepipe 0.2.0
-
BREAKING CHANGE: Deprecated
Pipeline$save()
and changed the arguments forsave_pipeline()
,show_pipeline()
, andPipeline$annotate()
. This change was made to support the next change which is: -
Added support for
nomnoml
flowcharts:- By default,
show_pipeline()
will now display anomnoml
style flowchart. You can reproduce the oldvisNetwork
style chart usingshow_pipeline(as="visnetwork")
. These are powered by two new methods belonging to thePipeline
class:$nomnoml()
and$visnetwork()
. - By default,
save_pipeline()
will now save an image of thenomnoml
chart. You can export thevisNetwork
chart as an html file usingsave_pipeline(as="visnetwork")
. These are powered by two new methods belonging to thePipeline
class, which replace the deprecated$save()
method:$save_nomnoml()
and$save_visnetwork()
.
- By default,
-
Added
note
andlabel
arguments tomake_*()
. This allows makepipe code to be even more self documenting, since notes that might be left as comments above themake_*()
segment can now be incorporated into the pipeline itself. -
make_with_*()
no longer throws an error ifdependencies
don't exist. It will be left to the users script/code to handle this situation. -
Fixed a bug which prevented
make_with_recipe()
from accepting long (>10 line) recipes -
Added
reset_pipeline()
, a wrapper forset_pipeline(Pipeline$new())
, for resetting the active pipeline