I’ve been trying to adapt my editable force graph notebook into one where the rendering and editable data are combined, as this would make it more modifiable and compact. Based on what I’ve read of
viewof it seems that having my graph be a
viewof graph and the underlying data be the value associated with
graph would serve this purpose well, as
viewof is inherently mutable.
I’ve made a basic (and incomplete) attempt at this in this notebook, but it definitely is not working and I’m unsure of how exactly to make it even show the nodes update correctly, let alone edit it from within the block or from other blocks. Any advice on how to make something like this work?