userOctober 5, 2016 at 5:42 am #6502
I am working on weighted tree and having one require.
I need to add the possibility to drag and drop a node or a leaf in tree.
thank youvizulyOctober 5, 2016 at 8:54 am #6503
This is totally possible, but would require customization of either the core weightedtree class, or the related theme to support drag and drop.
You would want to add a drag handler for the nodes them selves, track when a drag is occurring, and respond to a drop even over another node or branch.
Here is a good example of the basics you would need:
Weighted Tree – How to drag and drop a node or a leaf in Tree
© 2018 — vizuly.io