returns all tasks and links that a task is connected with
| id | id | optional, the id of a task | 
| object | an object with tasks and links a task is connected with | 
gantt.getConnectedGroup(18);
// => {links:["16", "17", "18"], tasks:[18, 17, 19, 20]}
Without parameters, the method returns all groups of tasks and links that make connections.
This functionality is available in the PRO edition only.
The method requires the auto_scheduling plugin to be included on the page.