More operations nodes types

This commit is contained in:
barsdeveloper
2023-05-19 01:13:57 +02:00
parent 6e9c371e99
commit 7f57786d55
11 changed files with 52 additions and 14 deletions

View File

@@ -68,6 +68,9 @@ export default class NodeTemplate extends ISelectableDraggableTemplate {
this.element.classList.add(.../** @type {NodeTemplateConstructor} */(this.constructor).nodeStyleClasses)
this.element.style.setProperty("--ueb-node-color", this.getColor().cssText)
this.pinInserter = this.element.entity.additionalPinInserter()
if (this.pinInserter) {
this.element.classList.add("ueb-node-is-variadic")
}
}
getColor() {