Closed swarnas89 closed 3 years ago
Is there any method through which we could search for a node?
https://github.com/d3/d3-force#simulation_find
I mean to search by node label not by node coordinates?
Nothing specific to the force layout: you might just do nodes.filter(d => d.id.match("something")) ?
nodes.filter(d => d.id.match("something"))
Is there any method through which we could search for a node?