甘特图 API方法isLinkExists页面内容isLinkExists Description 验证给定的链接是否存在 isLinkExists: (id: string | number) => booleanParameters id - (required) string | number - 链接的id Returns link - (boolean) - true 如果链接存在,否则为 false Examplegantt.addLink({ id:1, source:1, target:2, type:1});gantt.isLinkExists(1); // ->true