Skip to content

sharedProperties

const sharedProperties: BaseNodePropertiesSchema

Reusable schema fragment for the properties every node carries by default: label and description. Spread this into a custom NodeSchema['properties'] to avoid redeclaring them per node type.