That sounds really useful. There's no export yet here apart from images and it isn't something I've thought about much so far. Are there standard formats for these types of workflows?
At the end of the line these are just function definitions -- a black box that takes well defined inputs and produces well defined outputs, as well as calling out side-effects (I suppose these could just be more outputs).