Jan Winkler
Jan Winkler
True, data retrieval seems inappropriate in the view layer. But what about something bound to the view more tightly? d3-force simulation, for instance. Lifecycle of `js/d3.forceSimulation` should be pretty much...
d3-force example -- This is a rewrite of [Force-Directed Graph](https://observablehq.com/@d3/force-directed-graph?collection=@d3/d3-force) example to cljs and vanilla Reagent. All you need is `lein new figwheel-main rid3-force -- --reagent`, add ```clojure [rid3 "0.2.1-1"]...
Sorry, I should have been explicit about intentionally not handling data change: My goal was to keep the example to a bare minimum, and to actually avoid opening "the can...
So this is where I'm at right now: [proper (?) handling of data updates in D3 simulation and rid3](https://gist.github.com/prook/9e5cc9144d34a991978a2fd31b4ee487). Let's look at important bits. `create-sim` creates and configures the simulation....
Hi @kovasap. I'm not sure I'll be much help here -- I had to shift my focus elsewhere, and haven't returned back to this since. But let me invest 10...
Also, let me warn you -- in the most friendly way -- about biting off more than you can chew. This is a bit off-topic, but definitely something I wish...