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();} Copy
model.beginUpdate();try { const edit = new CellAttributeChange(cell, attributeName, attributeValue); model.execute(edit);} finally { model.endUpdate();}
Constructs a change of an attribute of the DOM node stored as the value of the given Cell`.
Changes the attribute of the cell's user object by using Cell#setAttribute.
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.
Example
To change the attributeName in the cell's user object to attributeValue, use the following code: