Move node templates to sub directory

This commit is contained in:
barsdeveloper
2022-12-17 10:50:57 +01:00
parent 60a8aa544a
commit d9216d0d40
10 changed files with 31 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
import MouseClickDrag from "../input/mouse/MouseClickDrag"
import NodeTemplate from "./NodeTemplate"
import NodeTemplate from "./node/NodeTemplate"
/** @typedef {import("../element/NodeElement").default} NodeElement */

View File

@@ -9,7 +9,7 @@ import Utility from "../Utility"
/**
* @typedef {import("../element/LinkElement").default} LinkElement
* @typedef {import("../element/NodeElement").default} NodeElement
* @typedef {import("../template/KnotNodeTemplate").default} KnotNodeTemplate
* @typedef {import("./node/KnotNodeTemplate").default} KnotNodeTemplate
*/

View File

@@ -1,12 +1,12 @@
import { html } from "lit"
import Configuration from "../Configuration"
import ElementFactory from "../element/ElementFactory"
import KnotPinTemplate from "./pin/KnotPinTemplate"
import Configuration from "../../Configuration"
import ElementFactory from "../../element/ElementFactory"
import KnotPinTemplate from "../pin/KnotPinTemplate"
import NodeTemplate from "./NodeTemplate"
/**
* @typedef {import("../element/NodeElement").default} NodeElement
* @typedef {import("../element/PinElement").default} PinElement
* @typedef {import("../../element/NodeElement").default} NodeElement
* @typedef {import("../../element/PinElement").default} PinElement
*/
export default class KnotNodeTemplate extends NodeTemplate {

View File

@@ -1,13 +1,13 @@
import { css, html, nothing } from "lit"
import Configuration from "../Configuration"
import ElementFactory from "../element/ElementFactory"
import ISelectableDraggableTemplate from "./ISelectableDraggableTemplate"
import SVGIcon from "../SVGIcon"
import Utility from "../Utility"
import Configuration from "../../Configuration"
import ElementFactory from "../../element/ElementFactory"
import ISelectableDraggableTemplate from "../ISelectableDraggableTemplate"
import SVGIcon from "../../SVGIcon"
import Utility from "../../Utility"
/**
* @typedef {import("../element/NodeElement").default} NodeElement
* @typedef {import("../element/PinElement").default} PinElement
* @typedef {import("../../element/NodeElement").default} NodeElement
* @typedef {import("../../element/PinElement").default} PinElement
*/
/** @extends {ISelectableDraggableTemplate<NodeElement>} */

View File

@@ -1,10 +1,10 @@
import { html, nothing } from "lit"
import ElementFactory from "../element/ElementFactory"
import ElementFactory from "../../element/ElementFactory"
import NodeTemplate from "./NodeTemplate"
/**
* @typedef {import("../element/NodeElement").default} NodeElement
* @typedef {import("../element/PinElement").default} PinElement
* @typedef {import("../../element/NodeElement").default} NodeElement
* @typedef {import("../../element/PinElement").default} PinElement
*/
export default class VariableAccessNodeTemplate extends NodeTemplate {

View File

@@ -2,7 +2,7 @@ import { html } from "lit"
import PinTemplate from "./PinTemplate"
import Utility from "../../Utility"
/** @typedef {import("./../KnotNodeTemplate").default} KnotNodeTemplate */
/** @typedef {import("../node/KnotNodeTemplate").default} KnotNodeTemplate */
export default class KnotPinTemplate extends PinTemplate {