Skip to main content

getLinks

Description

Returns all links presented in the Gantt chart

getLinks: () => Array<Link>

Returns

  • links - (Array <Link>) - an array of links' objects

Example

const links = gantt.getLinks();

Details

For information about how to get all links connected to a specific task, see the Getting the Link Object/Id and getLink articles.