C. Generate editable flow chart from akernel notebook cells
Maybe combine akernel with a view of ipyspaghetti or node-red, so that a user gets an alternative GUI to edit the notebook cells in some sort of flow chart.
Is it possible to ask the cell for its dependencies? Or would I have to somehow directly communicate with akernel or ipyx?
In akernel, dependencies are not cell based but variable based. When you assign to a variable, it keeps track of the variables that are used on the right hand side.
So indeed I think you would have to communicate with the variable, which is an ipyx.X object. I think some of the use cases you mentioned could become possible by implementing the functionality in ipyx as a widget. In particular, the dependency graph could be interesting.
Activity
davidbrochart commented on Oct 27, 2021
In akernel, dependencies are not cell based but variable based. When you assign to a variable, it keeps track of the variables that are used on the right hand side.
So indeed I think you would have to communicate with the variable, which is an ipyx.X object. I think some of the use cases you mentioned could become possible by implementing the functionality in ipyx as a widget. In particular, the dependency graph could be interesting.
davidbrochart commented on Oct 29, 2021
#28 adds support for DAG visualization.