Since I've chosen d3-selection to serve as (being honest now) jQuery alternative, it is used in a wrong way now, in case of RPD. There are mostly no arrays of data etc., and no parent/children hierarchies of selections, in a d3 way of thinking. (See docs-patch example with Planets as a proper implementation of it).
Could be hard since in our case the data for children is not ready when we create a parent (root has no patches at start, patch has no nodes at start, nodes have no inlets/outlets and start & s.o)
Since I've chosen d3-selection to serve as (being honest now) jQuery alternative, it is used in a wrong way now, in case of RPD. There are mostly no arrays of data etc., and no parent/children hierarchies of selections, in a d3 way of thinking. (See docs-patch example with Planets as a proper implementation of it).
When I've changed from
d3_tiny
to actual new version ofd3
, I discovered those issues immediately, for example https://github.com/d3/d3-selection/issues/106#issuecomment-280843339.