@maxgraph/core
    Preparing search index...

    Class CellAttributeChange

    Action to change the attribute of a cell's user object. There is no method on the graph model that uses this action.

    To use the action, you can use the code shown in the example below.

    To change the attributeName in the cell's user object to attributeValue, use the following code:

    model.beginUpdate();
    try {
    const edit = new CellAttributeChange(cell, attributeName, attributeValue);
    model.execute(edit);
    } finally {
    model.endUpdate();
    }

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    attribute: string
    cell: Cell
    previous: any
    value: any

    Methods