mxIGraphModel Interface |
Namespace: imbSCI.Graph.MXGraph.model
The mxIGraphModel type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Adds the specified child to the parent at the given index. If no index
is specified then the child is appended to the parent's array of
children.
| |
| BeginUpdate |
Increments the updateLevel by one. The event notification is queued
until updateLevel reaches 0 by use of endUpdate.
| |
| CloneCells |
Returns an array of clones for the given array of cells.
Depending on the value of includeChildren, a deep clone is created for
each cell. Connections are restored based if the corresponding
cell is contained in the passed in array.
| |
| Contains |
Returns true if the model contains the given cell.
| |
| EndUpdate |
Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.
| |
| GetChildAt |
Returns the child of the given parent at the given index.
| |
| GetChildCount |
Returns the number of children in the given cell.
| |
| GetEdgeAt |
Returns the edge of cell at the given index.
| |
| GetEdgeCount |
Returns the number of distinct edges connected to the given cell.
| |
| GetGeometry |
Returns the geometry of the given cell.
| |
| GetParent |
Returns the parent of the given cell.
| |
| GetStyle |
Returns the style of the given cell.
| |
| GetTerminal |
Returns the source or target terminal of the given edge depending on the
value of the boolean parameter.
| |
| GetValue |
Returns the user object of the given cell.
| |
| IsAncestor |
Returns true if the given parent is an ancestor of child.
| |
| IsCollapsed |
Returns true if the given cell is collapsed.
| |
| IsConnectable |
Returns true if the given cell is connectable.
| |
| IsEdge |
Returns true if the given cell is an edge.
| |
| IsVertex |
Returns true if the given cell is a vertex.
| |
| IsVisible |
Returns true if the given cell is visible.
| |
| Remove |
Removes the specified cell from the model. This operation will remove
the cell and all of its children from the model.
| |
| SetCollapsed |
Sets the collapsed state of the given cell.
| |
| SetGeometry |
Sets the geometry of the given cell.
| |
| SetStyle |
Sets the style of the given cell.
| |
| SetTerminal |
Sets the source or target terminal of the given edge using.
| |
| SetValue |
Sets the user object of then given cell.
| |
| SetVisible |
Sets the visible state of the given cell.
|
| Name | Description | |
|---|---|---|
| GraphModelChange |
Called when the graph model has changed.
|