Gantt APIMethodsgetLinkCountOn this pagegetLinkCount Description Returns the number of all dependency links presented in the Gantt chart getLinkCount: () => numberReturns count - (number) - the number of dependency links Exampleconst count = gantt.getLinkCount();Change log added in version 4.0