Commit ecf2265f authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[Graph] even better graph refresh after state change

I.e. no data is reloaded so there is less graph flickering.
parent 3b6e5e7b
...@@ -235,7 +235,7 @@ startSigmaEff ref sigmaRef settings forceAtlas2Settings graph = do ...@@ -235,7 +235,7 @@ startSigmaEff ref sigmaRef settings forceAtlas2Settings graph = do
Just sig -> do Just sig -> do
log "[startSigmaEff] sigma initialized already" log "[startSigmaEff] sigma initialized already"
useCanvasRendererEff ref rSigma useCanvasRendererEff ref rSigma
useDataEff rSigma graph --useDataEff rSigma graph
--useForceAtlas2Eff rSigma forceAtlas2Settings --useForceAtlas2Eff rSigma forceAtlas2Settings
Sigma.refreshForceAtlas sig Sigma.refreshForceAtlas sig
pure unit pure unit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment