|
|
|
@ -53,7 +53,9 @@ Dag.prototype.setConfig = function (o) {
|
|
|
|
|
*/ |
|
|
|
|
Dag.prototype.create = function () { |
|
|
|
|
const self = this |
|
|
|
|
jsPlumb.ready(() => { |
|
|
|
|
let plumbIns = jsPlumb.getInstance() |
|
|
|
|
plumbIns.reset() |
|
|
|
|
plumbIns.ready(() => { |
|
|
|
|
JSP.init({ |
|
|
|
|
dag: this.dag, |
|
|
|
|
instance: this.instance, |
|
|
|
@ -164,7 +166,10 @@ Dag.prototype.backfill = function (arg) {
|
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
jsPlumb.ready(() => { |
|
|
|
|
const self = this |
|
|
|
|
let plumbIns = jsPlumb.getInstance() |
|
|
|
|
plumbIns.reset() |
|
|
|
|
plumbIns.ready(() => { |
|
|
|
|
JSP.init({ |
|
|
|
|
dag: this.dag, |
|
|
|
|
instance: this.instance, |
|
|
|
|