Sets or toggles the flag bit for the given key in the cell's styles. If the value parameter is not set, then the flag is toggled.

Example that toggles the bold font style:

const cells = graph.getSelectionCells();
setCellStyleFlags(graph.model,
cells,
'fontStyle',
constants.FONT.BOLD);