@samatawy/diagrams
    Preparing search index...

    Interface DiagramChanged

    Represents a change in the diagram, including the scope of the change and the source event that triggered it. This interface can be used to provide detailed information about changes occurring in the diagram, allowing for more granular handling of updates and interactions.

    interface DiagramChanged {
        scope: DiagramChangeScope;
        sourceEvent: string;
    }
    Index

    Properties

    Properties

    The scope of the change, which indicates whether the change is related to the model, view, or style of the diagram. This property allows developers to handle changes more specifically based on their nature, optimizing performance and user experience.

    sourceEvent: string

    The source event that triggered the change, represented as a string. This property provides context about what caused the change, enabling more informed handling of the event.