This commit is contained in:
2024-12-20 10:29:39 +01:00
parent a892e1fcb2
commit 5e449e23b8
5 changed files with 313 additions and 34 deletions

View File

@@ -6,6 +6,7 @@ This program is available under Apache License Version 2.0
import { html, css } from 'lit';
import { TpFlowNode } from './tp-flow-node';
import { TpFlowNodes } from './tp-flow-nodes.js';
class DemoNode extends TpFlowNode {
static get styles() {
@@ -53,4 +54,5 @@ class DemoNode extends TpFlowNode {
}
}
window.customElements.define('demo-node', DemoNode);
window.customElements.define('demo-node', DemoNode);
TpFlowNodes.registerNode('MathNode', DemoNode);