C | |
canvas, mxGraphViewImageReader | |
cell, mxCellState | |
cellAdded, mxGraphModel | |
cellCloned, mxGraphModel | |
cellRemoved, mxGraphModel | |
cells, mxGraphModel | |
children, mxCell | |
clear, mxGraphModel | |
cloneCell, mxGraphModel | |
cloneCellImpl, mxGraphModel | |
cloneCells, mxGraphModel | |
cloneTemplate, mxObjectCodec | |
close, mxLog | |
codecs | |
collapsed, mxCell | |
connectable, mxCell | |
consume, mxEventObject | |
consumed, mxEventObject | |
contains | |
convert | |
convertFile | |
convertValueFromXml, mxObjectCodec | |
convertValueToString, mxGraph | |
convertValueToXml, mxObjectCodec | |
copy | |
copyValue, mxCell | |
create, mxCellPath | |
createCanvas | |
createDefaultEdgeStyle, mxStylesheet | |
createDefaultVertexStyle, mxStylesheet | |
createEdge, mxGraph | |
createGraphView, mxGraph | |
createId, mxGraphModel | |
createIds, mxGraphModel | |
createImage, mxGraph | |
createRoot, mxGraphModel | |
createState, mxGraphView | |
createStylesheet, mxGraph | |
createVertex, mxGraph | |
createXmlDocument, mxUtils | |
current, mxLog |
Holds the canvas.
var $canvas
Reference to the mxCell that is represented by this state.
var $cell
Inner callback to update cells when a cell has been added.
function cellAdded( $cell )
Hook for cloning the cell.
function cellCloned( $cell )
Inner callback to update cells when a cell has been removed.
function cellRemoved( $cell )
Maps from Ids to cells.
var $cells
Holds the child cells.
var $children
Sets a new root using createRoot.
function clear()
Returns a deep clone of the given mxCell (including the children) which is created using cloneCells.
function cloneCell( $cell )
Inner helper method for cloning cells recursively.
function cloneCellImpl( $cell, $mapping, $includeChildren )
Returns an array of clones for the given array of mxCells.
function cloneCells( $cells, $includeChildren = true )
Creates a new instance of the template for this codec.
function cloneTemplate()
Closes all open logfiles.
static function close()
Maps from constructor names to codecs.
public static $codecs
Specifies whether the cell is collapsed.
var $collapsed
Specifies whether the cell is connectable.
var $connectable
Consumes the event.
function consume()
Holds the consumed state of the event.
var $consumed
Returns true if the model contains the given mxCell.
function contains( $cell )
Returns true if the specified point (x, y) is contained in the given rectangle.
static function contains( $state, $x, $y )
Creates the HTML markup for the given display XML string.
static function convert( $string, $background = null )
Creates the image for the given display XML string.
static function convert( $string, $background = null )
Creates the HTML markup for the given display XML file.
static function convertFile( $filename, $background = null )
Creates the image for the given display XML file.
static function convertFile( $filename, $background = null )
Returns the given value.
function convertValueFromXml( $value )
Returns the textual representation for the given cell.
function convertValueToString( $cell )
Returns the given value without applying a conversion.
function convertValueToXml( $value )
Returns a clone of the cell.
function copy()
Returns a copy of this state where all members are deeply cloned except the view and cell references, which are copied with no cloning to the new instance.
function copy()
Returns a copy of this mxGeometry.
function copy()
Returns a copy of this mxPoint.
function copy()
Returns a copy of this mxRectangle.
function copy()
Returns a clone of the cell’s user object.
function copyValue()
Creates the cell path for the given cell.
static function create( $cell )
Returns the canvas to be used for rendering.
function createCanvas( $attrs )
Returns the canvas to be used for rendering.
function createCanvas( $attrs )
Creates and returns the default edge style.
function createDefaultEdgeStyle()
Creates and returns the default vertex style.
function createDefaultVertexStyle()
Creates the edge to be used in insertEdge.
function createEdge( $parent, $id = null, $value = null, $source = null, $target = null, $style = null )
Creates a new mxGraphView to be used in this graph.
function createGraphView()
Hook method to create an Id for the specified cell.
function createId( $cell )
Specifies if the model should automatically create Ids for new cells.
var $createIds
function createImage( $clip = null, $background = null )
Creates a new root cell with a default layer (child 0).
function createRoot()
Creates the state for the specified cell.
function createState( $cell )
Creates a new mxStylesheet to be used in this graph.
function createStylesheet()
Creates the vertex to be used in insertVertex.
function createVertex( $parent, $id = null, $value = null, $x = 0, $y = 0, $width = 1, $height = 1, $style = null, $relative = false )
Returns a new, empty XML document.
static function createXmlDocument()
Default is true.
public static $current