Consumer-supplied node factory for one insert kind. Given the drag AABB
and the tool's extras, returns the node's data (in the consumer's own
data shape) plus an optional pose override — the dep supplies id, layer,
and the undoable insert op. Return null to reject the insert.
A factory registered for a kit kind (rect, line, …) fully replaces the
kit's default { path, fill } factory for that kind; a factory for a novel
kind adds support the kit doesn't ship (e.g. text). See
SceneCanvas's insertNodeFactories prop.
Consumer-supplied node factory for one insert
kind. Given the drag AABB and the tool'sextras, returns the node'sdata(in the consumer's own data shape) plus an optionalposeoverride — the dep supplies id, layer, and the undoable insert op. Returnnullto reject the insert.A factory registered for a kit kind (
rect,line, …) fully replaces the kit's default{ path, fill }factory for that kind; a factory for a novel kind adds support the kit doesn't ship (e.g.text). SeeSceneCanvas'sinsertNodeFactoriesprop.