Drawing too many link lines could be a performance problem


#1


see those pictures above, i noticed that you use div to create link line, that means more lines more div doms, that could be rendering performance problem.

Could you guys think about to use path or canvas to implement this instead to improve the performance ? just like asana?


#2

Hello Kevin,
It is true that we use div elements to create links. But it shouldn’t be a performance issue if you use the smart rendering:


https://snippet.dhtmlx.com/6a1dcd9c4

There is no built-in feature to draw links by using canvas. You can try implementing it by using Gantt API and Javascript, but I don’t have a solution for that.


#3

Thanks Ramil, but could support a little curve on the link line?


#4

Hello Kevin,
I forwarded your suggestion to the dev team. They will think about adding it. But I cannot tell you if they add that feature and when.