sachaw
Explore posts from serversForce effect computation, or alternate approach?
I'm trying to write my own force directed graph, I am able to display nodes and links just fine with a random initial coordinate.
I also have a simple function that calculates the next positions for the nodes.
However I need to call that function at a rather high rate.
When I put it inside of an interval, nothing gets updated. I'm pobbably missing something here.
Any assistance would be much appreciated.
11 replies
Nicest way of having computed properties in a store?
I'm trying to model my store in a concise way,
I want to have some base properties, and some computed properties, I think the cleanest way is to use getter/setters but currently they are not reactive as I'm clearly doing something wrong. This is what I have currently:
13 replies