Filtering d3-force directed nodes based on an input value

I’m starting to understand, that I should use the automatic update of cells and the d3.join.update to solve my problem.

I can easly filter the nodes based on the value of a viewOf text file.
I should then update my network with the array of filtered nodes.

This means I have to master the join update feature of d3, things that I never understood fully. But it’s probably time this changes.

This helps moving forward. Calling a function defined in one cell from another cell

1 Like