Evolving the Computational Notebook: A Two-Dimensional Canvas for Enhanced Human-AI Interaction

Konstantin Grotov, Dmitry Botov · 2025

Read Evolving the Computational Notebook: A Two-Dimensional Canvas for Enhanced Human-AI Interaction by Konstantin Grotov, Dmitry Botov (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-16967.txt.

Introduction

Konstantin Grotov and Dmitry Botov stretch the data science notebook into a two-dimensional canvas in this 2025 paper. Notebooks line code up in one column, which fights the branching way analysts actually think and makes teamwork and AI help awkward. Their Computational Canvas lets cells float freely on a plane.

Features include arrangeable cells, separate working environments, and cleaner output handling, all built as a plugin for a popular code editor. The spatial layout supports visual exploration and natural collaboration among people and AI agents. The authors argue the shift from line to plane suits modern data work, where experiments fork, merge, and get revisited rather than marching straight down a page.

Catalog record

CREATORKonstantin Grotov, Dmitry Botov
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE15 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-16967

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Evolving the Computational Notebook: A Two-Dimensional Canvas for Enhanced Human-AI Interaction Konstantin Grotov, Dmitry Botov Abstract Computational notebooks, while essential for data science, are limited by their one-dimensional interface, which poorly aligns with non-linear developer workflows and complicates collaboration and human-AI interaction. In this work, we focus on features of Computational Canvas, a novel two-dimensional interface that evolves notebooks to enhance data analysis and AI-assisted development within integrated development environments (IDEs). We present vital features, including freely arrangeable code cells, separate environments, and improved output management. These features are designed to facilitate intuitive organization, visual exploration, and natural collaboration with other users and AI agents. We also show the implementation of Computational Canvas with designed features as a Visual Studio Code plugin. By shifting from linear to two-dimensional spatial interfaces, we aim to significantly boost developers’ productivity in data exploration, experimentation, and AI-assisted development, addressing the current limitations of traditional notebooks and fostering more flexible, collaborative data science workflows. I Introduction Fig. 1: (a) Prototype interface of the computational canvas. Orange cells in the canvas are the executable cells, the grey cells are the outputs, and the colorful areas are the separate environments with independent runtime states. (b) Schematic representation of the forking mechanism while creating a new environment. (c) A schematic representation of a chat between a user and an AI assistant is in Computational Canvas. The agent creates the dedicated environment that executes the user request. Computational notebooks are the favored medium for writing code and follow the paradigm of literal programming [ 1 ] . Nowadays, computational notebooks have played a crucial role in different areas, like data analysis [ 2 ] , science [ 3 , 4 ] , and education [ 5 , 6 ] . The framework Jupyter [ 7 ] , renowned for its computational notebooks and extensively utilized by data scientists [ 2 ] , is distinguished by its ability to develop code in a stateful manner. This means that each new code execution incrementally updates the notebook’s runtime state, allowing users to iterate more swiftly without re-running all the previous code. Although computational notebooks are a convenient medium for data analysis, the code users write in them is often of worse quality and more entangled structure rather than the one they write in scripts [ 8 ] . This entanglement saves beyond the single cell level, as the notebook cell order often doesn’t correlate with the actual highly non-linear developer’s workflow [ 9 , 10 ] . Moreover, notebooks struggle with very poor reproducibility [ 11 , 12 ] , especially in domains related to science [ 13 ] , where reproducibility is crucial. The problems mentioned above make notebooks a medium that is not reliable for end-to-end software engineering but is the perfect choice for retrieving insights from data and experimentation [ 10 , 14 ] . With the rise of artificial intelligence and foundational models [ 15 , 16 ] , the literate programming paradigm has been changing accordingly [ 17 ] , making the initial notebook interface limited in providing a comprehensible human-AI interaction. AI assistants often generate code snippets, modify multiple interdependent cells, or suggest alternative approaches that require users to revisit and restructure existing code. In a linear notebook, these interactions can quickly become chaotic, leading to confusion about the execution order, unintended overwrites, and cognitive overload for users trying to keep track of changes [ 18 ] . Recent studies proposed developing notebooks to streamline the experimentation workflow and collaboration rather than transferring and mimicking the existing tools from integrated development environments (IDEs) to notebooks [ 19 , 20 , 21 ] . Moreover, the studies on changing the one-dimensional structure of the notebooks to a two-dimensional one showed a boost in developer productivity [ 22 , 23 , 24 ] . Although the mentioned studies highlighted user interest in two-dimensional notebooks, their implementation was limited to multicolumn layouts, so they did not fully explore the new functionalities that true two-dimensional notebooks could offer. To fill this gap, in this work, we propose a specific set of features that could facilitate the developer’s experimentation in Computational Canvas 1 1 1 https://github.com/konstantgr/computational-canvas – the new interface enhances the traditional computational notebook by providing a two-dimensional workspace. Our approach allows users to create multiple, safely separate environments that branch off from the main runtime state, making it easier to experiment within a unified space. In this work, we outline the key features of this interface and explain how it can facilitate human-AI interaction. Moreover, we have implemented the computational canvas with the designed features as a plugin for Visual Studio Code. This approach simplifies the system, fostering non-linear experimentation and seamless collaboration without conflicts right in the IDE. These collaborations can occur not only between developers but also with AI assistants. II Computational Canvas The Computational Canvas is a platform that allows users to experiment with code and analyze data in a two-dimensional plane. The canvas prototype is elucidated in Figure 1 (a). The canvas’s core features include a flexible arrangement of executable cells, support for different rich output formats, and the creation of a separate environment with forks of the main runtime state. This section will describe these features in more detail. II-A Cells Arrangement Development in computational canvas is a process of creating executable cells with the code and obtaining the execution output, similar to workflow in the Jupyter Notebook. However, contrary to the vanilla Jupyter Notebook, the cells in the computational canvas are not bound to any grid. Any cell could be moved to the desired position of the developer, making it possible to organize the cells in groups more naturally than in a linear notebook. The interface was inspired by the Miro board 2 2 2 https://miro.com interface, which is widely used for collaborative brainstorming. It’s worth mentioning that the computational canvas is designed to be infinite, so the user can separate their workflow and comfortably utilize the canvas by dividing it into the needed groups. In contrast with the common one-dimensional computational notebook, the interface does not implicitly bind the user to follow the linear workflow, thus facilitating non-linear development. II-B Rich Outputs Manipulation After the cell is executed, an additional output cell is created below it. Like the standard notebook, the computational canvas supports textual and graphical outputs, making it possible to use it for data analysis, where visual representation is often crucial. Whenever the same code cell is executed again, the output cell will update accordingly, even if it is located in different positions on the canvas. This feature allows users to separate the canvas into the area of executable code cells and the area where the users expect to review the output, making the iterations with the code or debugging more comprehensive. Moreover, compared to the vanilla Jupyter Notebook, we’re proposing the feature of detaching the output from its parent cell and fixing its state at the moment. On the one hand, it could help users develop and keep all gained insights in one place without worrying about occasionally rewriting them. Additionally, it provides a more structured way to organize outputs, which can be beneficial for presentations. Figure 2

Read the complete text