@samatawy/diagrams
    Preparing search index...

    Interface DiagramClipboardEventDetail

    Defines the structure of a diagram clipboard event.

    interface DiagramClipboardEventDetail {
        operation: DiagramClipboardOperation;
        canPaste: boolean;
        node?: INode;
        nodeId?: string;
        nodes: INode[];
        nodeIds: string[];
    }
    Index

    Properties

    The clipboard operation that produced this event. Can be one of "copy", "cut", or "paste".

    canPaste: boolean

    Whether a paste action is currently possible.

    node?: INode

    The first node involved in the operation, if any.

    nodeId?: string

    The ID of the first node involved in the operation, if any.

    nodes: INode[]

    All nodes involved in the operation.

    nodeIds: string[]

    IDs of nodes involved in the operation.