@samatawy/diagrams
    Preparing search index...

    Interface DiagramSheetChanged

    Defines the structure of a diagram sheet changed event, which includes information about the spec sheet that has been changed in the diagram and the names of all available spec sheets. This interface can be used to provide detailed information about sheet change events in the diagram, allowing for more specific handling of such events, such as updating the display or synchronizing with other components.

    interface DiagramSheetChanged {
        action: string;
        sheetId: string;
        sheetNames: { id: string; name: string }[];
    }
    Index

    Properties

    action: string

    The action that triggered the sheet change event, represented as a string.

    sheetId: string

    The unique identifier of the spec sheet that has been changed in the diagram. This property allows for tracking which spec sheet is currently applied to the diagram, enabling more specific handling of sheet-related events and updates.

    sheetNames: { id: string; name: string }[]

    The names of all spec sheets that are currently available in the diagram's context. This property provides a list of all spec sheets that can be applied to the diagram, allowing for more informed handling of sheet-related events and updates.