@samatawy/diagrams
    Preparing search index...

    Interface DiagramToolChange

    Defines the structure of a diagram tool change event, which includes information about the new tool and the previous tool. This interface can be used to provide detailed information about tool changes in the diagram, allowing for more specific handling of such events, such as updating the display or synchronizing with other components.

    interface DiagramToolChange {
        tool: string;
        previousTool: string;
    }
    Index

    Properties

    Properties

    tool: string

    The new tool that has been selected or activated in the diagram. This property represents the current tool that is being used for interactions in the diagram.

    previousTool: string

    The previous tool that was active in the diagram. This property represents the tool that was being used before the current tool was selected or activated.