updated graph rendering to be more efficient. added smooth scrolling, added color type, mmb drag for cutting

This commit is contained in:
2026-03-21 06:57:26 +11:00
parent 1f5da03474
commit ae374db9fb
54 changed files with 9147 additions and 138 deletions

View File

@@ -3,7 +3,7 @@
* @property {string} id Unique pin identifier scoped to the node.
* @property {string} name Public display name.
* @property {('input'|'output')} direction Pin direction relative to the node.
* @property {('exec'|'number'|'boolean'|'string'|'table'|'any')} kind Pin kind describing blueprint behavior.
* @property {('exec'|'number'|'boolean'|'string'|'table'|'any'|'color')} kind Pin kind describing blueprint behavior.
* @property {string} [description] Optional tooltip/description.
* @property {unknown} [defaultValue] Default value for data pins.
*/

View File

@@ -20,7 +20,7 @@ export class Connection {
/**
* @param {PinReference} from Origin pin (must be output).
* @param {PinReference} to Target pin (must be input).
* @param {('exec'|'number'|'boolean'|'string'|'table'|'any')} kind Pin kind carried by the connection.
* @param {('exec'|'number'|'boolean'|'string'|'table'|'any'|'color')} kind Pin kind carried by the connection.
* @param {string} [id] Optional connection identifier.
*/
constructor(from, to, kind, id) {