Extensions/Behavior extensions

Register a custom behavior

Register a behavior that selects a clicked node and clears selection on the canvas.

extension.behavior
Live previewLoading example
Loading example
Try itClick a node to select it, or click empty canvas to clear the selection.
Loading source…
TypeScript · ESMcustom-behavior.ts