gantt-task-react icon indicating copy to clipboard operation
gantt-task-react copied to clipboard

Feature request: drawing arrows from task to task

Open vtaits opened this issue 3 years ago • 7 comments

You can see an example here.

https://d-band.github.io/gantt/

When you hover over the task, two circles appear: on the left side and on the right.

You can drag the line into another task or milestone. If it was successful, a new callback will be called (like onDependencyAdd).

I can do it and make PR.

vtaits avatar Nov 22 '22 14:11 vtaits

Seems useful to me ( but I am not part of project team). If you do, then I think you should include verification so that you cannot break the chart by creating a circular dependency where item becomes dependent on a child item.

RossCoeH avatar Nov 30 '22 06:11 RossCoeH

@RossCoeH

I decided to fork project and add new features myself.

https://github.com/vtaits/gantt-task-react

This feature is already done in dev branch.

I need some other features (critical path, comparison with base and other). I will publish this when all features are done.

vtaits avatar Nov 30 '22 19:11 vtaits

You can see an example here.

https://d-band.github.io/gantt/

When you hover over the task, two circles appear: on the left side and on the right.

You can drag the line into another task or milestone. If it was successful, a new callback will be called (like onDependencyAdd).

I can do it and make PR.

could you share your demo code

xila520 avatar Jan 19 '23 10:01 xila520

You can see an example here. https://d-band.github.io/gantt/ When you hover over the task, two circles appear: on the left side and on the right. You can drag the line into another task or milestone. If it was successful, a new callback will be called (like onDependencyAdd). I can do it and make PR.

could you share your demo code

You can see my progress here

https://vtaits.github.io/gantt-task-react/

Sources of stories are here

https://github.com/vtaits/gantt-task-react/tree/main/stories

vtaits avatar Jan 19 '23 11:01 vtaits

You can see an example here. https://d-band.github.io/gantt/ When you hover over the task, two circles appear: on the left side and on the right. You can drag the line into another task or milestone. If it was successful, a new callback will be called (like onDependencyAdd). I can do it and make PR.

could you share your demo code

You can see my progress here

https://vtaits.github.io/gantt-task-react/

Sources of stories are here

https://github.com/vtaits/gantt-task-react/tree/main/stories

Thank you very much!

xila520 avatar Jan 20 '23 01:01 xila520

@vtaits Are you still working on this fork? I see some commits

doug-benn avatar May 21 '23 20:05 doug-benn

@vtaits Are you still working on this fork? I see some commits

Hello. I'm too busy right now. I'll want to compete it, but when I have time for this.

Arrow feature is ready in my repo, you can use it. But some other features that I need aren't

vtaits avatar May 27 '23 17:05 vtaits