Created
April 21, 2020 10:49
-
-
Save Priyesha/b76258d3a073017ec905014d4c16b57a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ngAfterViewInit() { | |
this.sourceEndPoint = this.jsPlumbInstance.addEndpoint(this.node.id, | |
{ anchor: 'Right', uuid: this.node.id + 'right' }, this.source); | |
if (this.node.type !== 'start') { | |
this.destinationEndPoint = this.jsPlumbInstance.addEndpoint(this.node.id, | |
{ anchor: 'Left', uuid: this.node.id + 'left' }, this.destination); | |
} | |
this.jsPlumbInstance.draggable(this.node.id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment