|
@ -73,9 +73,6 @@ class Edge { |
|
|
if (options.value !== undefined) {options.value = parseInt(options.value);} |
|
|
if (options.value !== undefined) {options.value = parseInt(options.value);} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// A node is connected when it has a from and to node that both exist in the network.body.nodes.
|
|
|
|
|
|
this.connect(); |
|
|
|
|
|
|
|
|
|
|
|
// update label Module
|
|
|
// update label Module
|
|
|
this.updateLabelModule(); |
|
|
this.updateLabelModule(); |
|
|
|
|
|
|
|
@ -84,6 +81,9 @@ class Edge { |
|
|
// if anything has been updates, reset the selection width and the hover width
|
|
|
// if anything has been updates, reset the selection width and the hover width
|
|
|
this._setInteractionWidths(); |
|
|
this._setInteractionWidths(); |
|
|
|
|
|
|
|
|
|
|
|
// A node is connected when it has a from and to node that both exist in the network.body.nodes.
|
|
|
|
|
|
this.connect(); |
|
|
|
|
|
|
|
|
return dataChanged; |
|
|
return dataChanged; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -267,6 +267,8 @@ class Edge { |
|
|
this.to.detachEdge(this); |
|
|
this.to.detachEdge(this); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.edgeType.connect(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|