System and method for a computational notebook interface
AssigneeFuji Xerox Co., Ltd.
InventorsJohn Edward Wenskovitch, Jr., Jian Zhao, Matthew L. Cooper, Scott Carter
Life of this patent
Estimating the term…
Abstract
Example implementations described herein are directed to an improved interface for a computational notebook that represents cells of the computational notebook in a graph form involving nodes and links. Through such an improved interface, the execution order of the cells can be immediately understood, as well as the dependencies between different cells of executable code and the variables contained therein.
Claims18
A method, comprising:
- receiving a computational notebook comprising a plurality of cells, each of the plurality of cells comprising executable code and markdown;
- building a first interface of the computational notebook, the first interface comprising the plurality of cells;
- extracting properties from the executable code and markdown of each of the plurality of cells;
- building a second interface using the extracted properties, the second interface representing the computational notebook in a graph form comprising a plurality of nodes and a plurality of links linking the nodes, the nodes comprising representations of the plurality of cells;
- generating a user interface projected on a display, the user interface comprising a first visualization of the first interface adjacent to a second visualization of the second interface;
- and
- generating a visual path through the nodes and links on the second interface based on executing of the plurality of cells in the computational notebook, the visual path indicative of an order of the execution of the plurality of cells.
A non-transitory computer readable medium, storing instructions for executing a process, the instructions comprising:
- for a first interface of a computational notebook comprising a plurality of cells, each of the plurality of cells comprising executable code and markdown,
- extracting properties from the executable code and markdown of each of the plurality of cells;
- and
- building a second interface using the extracted properties, the second interface representing the computational notebook in a graph form comprising a plurality of nodes and a plurality of links linking the nodes, the nodes comprising representations of the plurality of cells;
- generating a user interface projected on a display, the user interface comprising a first visualization of the first interface adjacent to a second visualization of the second interface;
- and
- for execution of the plurality of cells in the computational notebook, generating a visual path through the nodes and links on the second interface indicative of an order of the execution of the plurality of cells.
An apparatus, comprising:
- a processor, configured to:
- for a first interface of a computational notebook comprising a plurality of cells, each of the plurality of cells comprising of executable code and markdown,
- extract properties from the executable code and markdown of each of the plurality of cells, and
- build a second interface using the extracted properties, the second interface representing the computational notebook in a graph form comprising a plurality of nodes and a plurality of links linking the nodes, the nodes comprising representations of the plurality of cells;
- generate a user interface projected on a display, the user interface comprising a first visualization of the first interface adjacent to a second visualization of the second interface;
- and
- for execution of the plurality of cells in the computational notebook, generate a visual path through the nodes and links on the second interface indicative of an order of the execution of the plurality of cells.
Dependencies are inferred from the claim text.