mirror of
https://github.com/glassflame/glassflame.github.io.git
synced 2024-11-25 17:44:26 +00:00
Remove unused code
This commit is contained in:
parent
c0c996b5c1
commit
2ead674928
1 changed files with 0 additions and 7 deletions
|
@ -20,13 +20,6 @@ export class EdgeElement extends CanvasItemElement {
|
|||
const toSide = this.getAttribute("node-to-side")
|
||||
const [x2, y2] = toNode.getCenterCoordinatesOfSide(toSide)
|
||||
|
||||
const minX = Math.min(x1, x2)
|
||||
const minY = Math.min(y1, y2)
|
||||
const diffX = Math.abs(x1 - x2)
|
||||
const diffY = Math.abs(y1 - y2)
|
||||
|
||||
const arrows = this.getAttribute("arrows") ?? "end"
|
||||
|
||||
this.svgSlotted = document.createElementNS("http://www.w3.org/2000/svg", "svg")
|
||||
this.svgSlotted.slot = "edge-svg"
|
||||
this.svgSlotted.style.setProperty("position", "absolute")
|
||||
|
|
Loading…
Reference in a new issue