bugfix: don't query network while panning around

I'm taking this opportunity to significantly clean up the data flow. It's easy to forget quite what A and B are supposed to do, and so to pile on additional responsibilities on them:

  • A rebuilds Surface
  • B updates just a few attributes within Surface without structurally modifying it

In particular, A is not intended to modify the inputs that go into rebuilding Surface, in this app Nodes.

Perhaps I shouldn't call it A, but M or something to leave lots of space for phases before A. For now, hopefully a comment will suffice.

3 major code paths:

  • on.initialize as well as C-v initialize Input_filename (v11) or Url (v12) initialize Nodes and Root initialize Cursor_node A() ensure cursor in viewport
  • on pan: A() In particular, don't touch Cursor_node

Created by  Kartik K. Agaram  on October 15, 2023
FTM3CSOAZMHEWXORH2GG3XJZWHCVG6EAUDI4MSGM6IEU2NN5RNPQC
Change contents