|
@ -529,6 +529,11 @@ class Edge { |
|
|
var node1 = this.from; |
|
|
var node1 = this.from; |
|
|
var node2 = this.to; |
|
|
var node2 = this.to; |
|
|
var selected = (this.from.selected || this.to.selected || this.selected); |
|
|
var selected = (this.from.selected || this.to.selected || this.selected); |
|
|
|
|
|
|
|
|
|
|
|
if (this.labelModule.differentState(selected, this.hover)) { |
|
|
|
|
|
this.labelModule.getTextSize(ctx, selected, this.hover); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (node1.id != node2.id) { |
|
|
if (node1.id != node2.id) { |
|
|
this.labelModule.pointToSelf = false; |
|
|
this.labelModule.pointToSelf = false; |
|
|
var point = this.edgeType.getPoint(0.5, viaNode); |
|
|
var point = this.edgeType.getPoint(0.5, viaNode); |
|
|