You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to access reactive dependencies for display and navigation? #25
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 commentedon 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.Xobject. I think some of the use cases you mentioned could become possible by implementing the functionality inipyxas a widget. In particular, the dependency graph could be interesting.davidbrochart commentedon Oct 29, 2021
#28 adds support for DAG visualization.