- getModel
Returns the graph model that contains the graph data.
- <init>
Constructs a new graph for the specified model. If no model is specified, then a
new, empty com.mxgr
- getDefaultParent
Returns the first child of the root in the model, that is, the first or default
layer of the diagram
- insertEdge
Adds a new edge into the given parent using value as the user object and the
given source and target
- insertVertex
Adds a new vertex into the given parent using value as the user object and the
given coordinates as
- addCell
Adds the cell to the parent and connects it to the given source and target
terminals. This is a shor
- getView
Returns the view that contains the cell states.
- setStylesheet
Sets the stylesheet that provides the style.
- updateCellSize
Updates the size of the given cell in the model using getPreferredSizeForCell to
get the new size. T
- isSwimlane
Returns true if the given cell is a swimlane. This implementation always returns
false.
- setCellStyles
Sets the key to value in the styles of the given cells. This will modify the
existing cell styles in
- findTreeRoots
Returns all visible children in the given parent which do not have incoming
edges. If the result is