- <init>
Constructs a new graph model. If no root is specified then a new root mxCell
with a default layer is
- add
- addListener
- beginUpdate
- cellAdded
Invoked after a cell has been added to a parent. This recursively creates an Id
for the new cell and
- cellRemoved
Invoked after a cell has been removed from the model. This recursively removes
the cell from its ter
- clear
Sets a new root using createRoot.
- cloneCell
Inner helper method for cloning cells recursively.
- collapsedStateForCellChanged
Inner callback to update the collapsed state of the given mxCell using
mxCell.setCollapsed and retur
- contains
- createId
Creates a new Id for the given cell and increments the global counter for
creating new Ids.
- createRoot
Creates a new root cell with a default layer (child 0).