|
@@ -225,7 +225,7 @@ export class GraphFrame {
|
|
portAdded = true;
|
|
portAdded = true;
|
|
const onLinkDisposedObserver = link.onDisposedObservable.add((nodeLink: NodeLink) => {
|
|
const onLinkDisposedObserver = link.onDisposedObservable.add((nodeLink: NodeLink) => {
|
|
this.removePortFromExposedWithLink(nodeLink, this._exposedInPorts);
|
|
this.removePortFromExposedWithLink(nodeLink, this._exposedInPorts);
|
|
- this._redrawFramePorts();
|
|
|
|
|
|
+ this.redrawFramePorts();
|
|
});
|
|
});
|
|
this._onNodeLinkDisposedObservers.push(onLinkDisposedObserver);
|
|
this._onNodeLinkDisposedObservers.push(onLinkDisposedObserver);
|
|
}
|
|
}
|
|
@@ -255,7 +255,7 @@ export class GraphFrame {
|
|
|
|
|
|
const onLinkDisposedObserver = link.onDisposedObservable.add((nodeLink: NodeLink) => {
|
|
const onLinkDisposedObserver = link.onDisposedObservable.add((nodeLink: NodeLink) => {
|
|
this.removePortFromExposedWithLink(nodeLink, this._exposedOutPorts);
|
|
this.removePortFromExposedWithLink(nodeLink, this._exposedOutPorts);
|
|
- this._redrawFramePorts();
|
|
|
|
|
|
+ this.redrawFramePorts();
|
|
});
|
|
});
|
|
|
|
|
|
this._onNodeLinkDisposedObservers.push(onLinkDisposedObserver);
|
|
this._onNodeLinkDisposedObservers.push(onLinkDisposedObserver);
|
|
@@ -291,7 +291,7 @@ export class GraphFrame {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
- private _redrawFramePorts() {
|
|
|
|
|
|
+ public redrawFramePorts() {
|
|
if(!this.isCollapsed) {
|
|
if(!this.isCollapsed) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -643,7 +643,7 @@ export class GraphFrame {
|
|
if (this.nodes.indexOf(node) === -1) {
|
|
if (this.nodes.indexOf(node) === -1) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- this._redrawFramePorts();
|
|
|
|
|
|
+ this.redrawFramePorts();
|
|
});
|
|
});
|
|
|
|
|
|
this._commentsElement = document.createElement('div');
|
|
this._commentsElement = document.createElement('div');
|