CellFlow: A Tool for Automatic Jupyter Notebook Workflow Visualization
IEEE International Conference on Software Architecture Companion (ICSA-C), pp. 349–352
Abstract
Jupyter Notebooks are widely used in machine learning (ML) and data science, yet their linear, cell-based representation makes it difficult for developers to quickly form accurate mental models, especially when notebooks contain branching logic or alternative solution paths. This paper presents CellFlow, a JupyterLab extension that automatically generates workflow diagrams from notebooks. CellFlow statically analyzes code cells using abstract syntax trees to identify variable definition-use dependencies and combines this analysis with LLM-generated semantic labels and descriptions. The resulting diagrams, named cell-flow diagrams, explicitly visualize computational activities and the flow of data artifacts between them, providing an architectural view of notebook workflows. As a demonstration, we show how CellFlow integrates with JupyterLab and supports notebook comprehension. Initial user study results indicate that the generated diagrams help developers understand previously unseen notebooks and are perceived as useful and easy to use.
Authors 4
-
Affiliation as printed
Research Group Software Construction RWTH Aachen University, Aachen, Germany
-
Affiliation as printed
Research Group Software Construction RWTH Aachen University, Aachen, Germany
-
Affiliation as printed
Research Group Software Construction RWTH Aachen University, Aachen, Germany
-
Affiliation as printed
Research Group Software Construction RWTH Aachen University, Aachen, Germany
Cited by 0 stored of 0
No patents citing this paper on Lens.org (checked 2026-10-06).
References 10
-
W7097712496details pending0citations
10 results