here the enableAddLink function looks like this in the typescript enableAddLink() { this.storyboard.network.addNodeMode = false; this.addNodeMode = false; this.addLinkMode = !this.addLinkMode; this.storyboard.network.addLinkMode = this.addLinkMode; } The links should get created only when nodes exist else I want it to be disabled. Continue reading...