the-graph icon indicating copy to clipboard operation
the-graph copied to clipboard

Improve performance when moving groups of nodes

Open ifitzpatrick opened this issue 9 years ago • 3 comments

The app is slowed down a lot when moving groups because each individual node in the group triggers an update cycle. By only calling markDirty once all of the noflo.Graph listeners have been called for each node, we can speed up this ui interaction quite a bit.

ifitzpatrick avatar Sep 20 '16 20:09 ifitzpatrick

Smells like somewhere a refactor fluxy dataflow would help.

forresto avatar Sep 20 '16 22:09 forresto

Would we be able to avoid triggering a rerender of the whole graph view if we did that?

ifitzpatrick avatar Sep 20 '16 23:09 ifitzpatrick

Waiting until closeTransaction should generally be enough for this.

jonnor avatar Jan 04 '17 16:01 jonnor