update to node site

This commit is contained in:
2026-04-15 05:02:45 +10:00
parent 3c45406f6f
commit 7e7e6f2c22
710 changed files with 10532 additions and 8324 deletions

View File

@@ -0,0 +1,19 @@
/**
* Represents a comment box for annotating/grouping nodes.
* Similar to Unreal Engine blueprint comments.
*/
export class GraphComment {
/**
* @param {{ id: string, title: string, position: {x:number,y:number}, size: {width:number,height:number}, color?: string, opacity?: number }} init
*/
constructor(init) {
this.id = init.id;
this.title = init.title;
this.position = { ...init.position };
this.size = { ...init.size };
/** @type {string} */
this.color = init.color || "#4a5568";
/** @type {number} */
this.opacity = init.opacity ?? 0.15;
}
}