Graph link work in progress

This commit is contained in:
barsdeveloper
2021-12-22 22:24:13 +01:00
parent 93acfb5d33
commit 352f235610
14 changed files with 399 additions and 159 deletions

View File

@@ -4,11 +4,15 @@ export default class DragLink extends MouseClickDrag {
constructor(target, blueprint, options) {
super(target, blueprint, options)
/** @type {import("../graph/GraphPin").default} */
this.target
/** @type {import("../graph/GraphLink").default} */
this.link
}
startDrag() {
let a = 12
console.log(a)
let link = this.target.dragLink()
}
dragTo(location, movement) {