Interactive Source-to-source Transformations for Flow-based Applications