Property inspector spec: a declarative description of how a node's or
edge's properties are rendered and edited. The inspector renders from
this spec rather than hard-coding widget choices, so the widget per
property (a boolean as a checkbox vs a toggle, a string as text vs a
constrained select, ...) is configuration, not bespoke JSX.
When no field is given for a property key, a widget is inferred from
the runtime value type. A spec is therefore optional: with none, the
inspector still renders every property with a sensible default widget.
Property inspector spec: a declarative description of how a node's or edge's properties are rendered and edited. The inspector renders from this spec rather than hard-coding widget choices, so the widget per property (a boolean as a checkbox vs a toggle, a string as text vs a constrained select, ...) is configuration, not bespoke JSX.
When no field is given for a property key, a widget is inferred from the runtime value type. A spec is therefore optional: with none, the inspector still renders every property with a sensible default widget.