Links wip (broken)

This commit is contained in:
barsdeveloper
2022-03-14 18:58:23 +01:00
parent 8bca6dcff4
commit c4b0dac1b7
10 changed files with 1146 additions and 1083 deletions

View File

@@ -51,4 +51,11 @@ export default class NodeTemplate extends SelectableDraggableTemplate {
pins.filter(v => v.isInput()).forEach(v => inputContainer.appendChild(new PinElement(v)))
pins.filter(v => v.isOutput()).forEach(v => outputContainer.appendChild(new PinElement(v)))
}
/**
* @param {NodeElement} node
*/
getPinElements(node) {
return node.querySelectorAll(PinElement.tagName)
}
}