dragging the dependencies on run-time by user like nodes can be dragged at run-time by user in interactive-gantt
Steps to replicate –
Click on the following URL -https://www.highcharts.com/gantt/demo/interactive-gantt
Click on “Edit in JSFiddle”.
Try dragging “prototype” or any other node.
Unlike nodes which can be dragged by user at run-time, (dependencies) dependency arrows cannot be dragged by user at run-time.
Thanks for the idea, it makes sense to be able to drag the dependencies. We’ll discuss this in house.
-
This is a great idea. It would be a bit of a project to implement, as we can't easily leverage the existing drag/drop logic. Instead of live-updating the connectors, we would need to snap them to points on drop, and then recalculate the dependency. It would however be comparatively easy to add an interface for creating dependencies by clicking on two points. This can be done using point.update and setting the dependency on the points (https://api.highcharts.com/gantt/series.gantt.data.dependency & https://api.highcharts.com/class-reference/Highcharts.Point#update).
-
Anonymous commented
Can we have functionality to drag dependencies as well like nodes?