Open l0drex opened 2 years ago
Did you find a solution for this?
No, I'm not using the drag function anymore. You could try to write your own adaptor like this one
Thanks. I'll look into it :)
v7 same problem .
how to make my own adaotor ? still no drag moving and no error console . is drag from d3.drag or cola.drag ? and event name using like start.adptor or start ?
thanks
v7 same problem .
how to make my own adaotor ? still no drag moving and no error console . is drag from d3.drag or cola.drag ? and event name using like start.adptor or start ?
thanks
I ended up copying the d3v4 adapter linked above and simplifying it a bit. Turned out I could avoid using the internal imports (at least for my use case) with a few tweaks, and by converting it to JS so the TypeScript time were redundant.
selection.call(cola.drag) throws a bunch of errors when using the latest d3 version, d3v7. When using cola.js (not the min version), the output is as follows:
Since d3v7 seems to use an adaptor to d3v4, I checked if it works using d3v4 directly, and it does work there.