dburian / noteplot

Visualization tool for Markdown notes.
0 stars 0 forks source link

Refactor toolbar and `GraphInterface`'s state #1

Open dburian opened 5 months ago

dburian commented 5 months ago

Toolbar

The toolbar should be:

The current toolbar has also some problems:

GraphInterface's state

Spaghetti code of mixing url-based state and persistent state. The current toolbar needs to understand GraphInterface's state to work.

dburian commented 5 months ago

With 8fecae8:

The state management is hard:

Currently, I've settled for a simple Toolbar without any slider, as I don't really need it. I'll add some animations and see what we end up with. Maybe then I'll include the slider.