Dependency arrow customization


#1

Hi,

Can we customize the relationship arrow. Presently its displaying as curved lines can we make it as straight lines. We want straight lines to connect each other task to avoid the unnecessary curved lines.
please provide the example if possible.

Thanks,
Nagaraju


#2

Any help about this topic would be appreciated.


#3

Hello,

Do you mean you want to completely change the way relation lines are rendered?

Currently, we don’t have an API for that. The only thing I can suggest is to check gantt.addLinkLayer function. You can render custom link elements there and hide the default ones.

https://docs.dhtmlx.com/gantt/api__gantt_addlinklayer.html

Other than that, there is no good way of redefining the general shape of relation lines.