kadhirvelm / atlasP

Visualize your social time
http://www.atlas-people.com
0 stars 0 forks source link

Dynamic updating on the graph #106

Open kadhirvelm opened 5 years ago

kadhirvelm commented 5 years ago

For better frontend performance, we need to stop completely replacing the graph every time a filter changes, or the graph type changes. We should try and update the current nodes:

https://medium.com/ninjaconcept/interactive-dynamic-force-directed-graphs-with-d3-da720c6d7811

kadhirvelm commented 5 years ago

Also should handle whenever a user updates an event, or deletes an event, should likely not make a backend call, but instead should calculate and update the graph locally