nteract / semiotic

A data visualization framework combining React & D3
https://semioticv1.nteract.io/
Other
2.43k stars 133 forks source link

use of filteredRenderNodes appears to mutate the underlying object array #524

Closed demartsc closed 4 years ago

demartsc commented 4 years ago

When trying to use filterRenderedNodes in the Semiotic Hierarchy tableau extension, I noticed that the data appears to get mutated and never returns back to its original state. Here is a screen shot of where I think this may be happening, hope that is helpful...

image

From what i can tell once I send a subset of nodes as true if I try to send another set the original object appears to have been mutated and I only get nodes in both of the two selections rendered. Do let me know if you have any questions on this one.

emeeks commented 4 years ago

This should be resolved in 2.0.0.rc4 which just got published.