Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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