- <init>
Constructs a model using the specified information to construct the cells,
attributes and connection
- getEdges
Returns the set of all connected edges to cells or their descendants. The
passed-in cells are never
- getRoots
Returns the roots in cells by checking if their parent isnull. This
implementation only uses the Gra
- isGroup
Checks whether the cell has at least one child which is not a port. This
implementation operates on
- connect
Connects or disconnects the edge and port in this model based onremove.
Subclassers should override
- edit
Applies attributes and the connection changes to the model. The initial edits
that triggered the ca
- getAll
Returns all cells of the model in an array.
- getAttributes
Returns a Map that represents the attributes for the specified cell. This
attributes have precedence
- getDescendants
Flattens the given array of root cells by adding the roots and their
descandants. The resulting set
- getRootsAsCollection
Returns the roots of the specified model as a collection. This implementation
uses the GraphModel in
- addUndoableEditListener
- cloneCell
Returns a deep clone of the specified cells, including all children.