I was recently searching for a way to visualize cells in a graph in a way that would allow both cell dependency to become clearer as well as improve story telling capabilities, since non-linear (branching) stories are hard to tell within today's notebooks.
What steps would be needed to implement that (on top of)/(in collaboration with) dataflownb?
DESCRIPTION OF USE CASE EXAMPLE
Imagine a notebook to evaluate two real estate expansion plans for a given city. The first node of cells loads the current real estate data and describes the current state of affairs. From there, you get two branches, each of them following similar logic but following different scenario premisses and arriving to comparable (but different) end results.
Today, this analysis could be done using a chapter for each scenario, but that still requires rolling up and down to compare, maybe unclear settings of which cell to run before scenario A, maybe (accidentally) re-running scenario A before B (run all is sooo easy to click on), etc.
I was recently searching for a way to visualize cells in a graph in a way that would allow both cell dependency to become clearer as well as improve story telling capabilities, since non-linear (branching) stories are hard to tell within today's notebooks.
I briefly joined the discussion here: https://github.com/jupyter/notebook/issues/1175. And that's how I came across dataflownb.
I have worked on a (quick and dirty) visual proposition of how to use cell dependencies to facilitate story telling and organize notebook flows. It probably makes more sense in JupyterLab project, but this is what I envision: https://docs.google.com/presentation/d/1nWAjvuCZb4MEu9SiTy-QWfMWBThpDpZFnuKNp1S_fHs/edit?usp=sharing
What steps would be needed to implement that (on top of)/(in collaboration with) dataflownb?
DESCRIPTION OF USE CASE EXAMPLE Imagine a notebook to evaluate two real estate expansion plans for a given city. The first node of cells loads the current real estate data and describes the current state of affairs. From there, you get two branches, each of them following similar logic but following different scenario premisses and arriving to comparable (but different) end results.
Today, this analysis could be done using a chapter for each scenario, but that still requires rolling up and down to compare, maybe unclear settings of which cell to run before scenario A, maybe (accidentally) re-running scenario A before B (run all is sooo easy to click on), etc.