Optionaldata?: NodeDataOptionalid?: stringOptionalpersisted?: booleanThe consumer wrote this creation through to its own backend — only the consumer can know a write happened, so only the consumer can declare it. The history row is marked saved and still reverses: undo takes the element off the canvas, the backend keeps its copy, and the menu says so before the click.
Optionalstyle?: Partial<NodeStyle>
The decision returned by InterractionCallbacks.onBeforeNodeCreate.
trueaccepts the library's default node,falsevetoes. The object form accepts (whenacceptis true) and lets the consumer supply the new node's id / data / style.