Coral 0.2.17 candidate API
    Preparing search index...

    Interface NodePropertiesPanelProps

    Props for NodePropertiesPanel

    interface NodePropertiesPanelProps {
        allowAddProperties?: boolean;
        allowRemoveProperties?: boolean;
        disabled?: boolean;
        onAddProperty?: (nodeId: string, key: string, value: PropertyValue) => void;
        onEditSessionCancel?: (field: string) => void;
        onEditSessionEnd?: (field: string) => void;
        onEditSessionStart?: (field: string) => void;
        onPropertyChange: (change: PropertyChange) => void;
        onRemoveProperty?: (nodeId: string, key: string) => void;
        selectedNode: CoralNode | null;
        showNodeId?: boolean;
        showNodeType?: boolean;
        width?: string | number;
    }
    Index
    allowAddProperties?: boolean

    Allow adding custom properties

    allowRemoveProperties?: boolean

    Allow removing custom properties

    disabled?: boolean

    Whether the panel is disabled (read-only mode)

    onAddProperty?: (nodeId: string, key: string, value: PropertyValue) => void

    Callback to add a new custom property

    onEditSessionCancel?: (field: string) => void
    onEditSessionEnd?: (field: string) => void
    onEditSessionStart?: (field: string) => void

    Timing-independent transaction boundaries for draft fields.

    onPropertyChange: (change: PropertyChange) => void

    Callback when any property changes

    onRemoveProperty?: (nodeId: string, key: string) => void

    Callback to remove a custom property

    selectedNode: CoralNode | null

    Currently selected node (null if none selected)

    showNodeId?: boolean

    Show node ID (read-only info)

    showNodeType?: boolean

    Show node type (read-only info)

    width?: string | number

    Panel width