function mxCellState(view, cell, style)
{
	this.view = view;
	this.cell = cell;
	this.style = (style != null) ? style : {};
	
	this.origin = new mxPoint();
	this.absoluteOffset = new mxPoint();
}
function mxCellState(view, cell, style)
{
	this.view = view;
	this.cell = cell;
	this.style = (style != null) ? style : {};
	
	this.origin = new mxPoint();
	this.absoluteOffset = new mxPoint();
}
function mxCellState ( view , cell , style ) { this . view = view ; this . cell = cell ; this . style = ( style != null ) ? style : { } ; this . origin = new mxPoint ( ) ; this . absoluteOffset = new mxPoint ( ) ; }
Copyright (c) 2006-2015, JGraph Ltd
Copyright (c) 2006-2015, Gaudenz Alder
 
Class: mxCellState

Represents the current state of a cell in a given <mxGraphView>.

For edges, the edge label position is stored in <absoluteOffset>.

The size for oversize labels can be retrieved using the boundingBox property
of the <text> field as shown below.

(code)
var bbox = (state.text != null) ? state.text.boundingBox : null;
(end)

Constructor: mxCellState

Constructs a new object that represents the current state of the given
cell in the specified view.

Parameters:

view - <mxGraphView> that contains the state.
cell - <mxCell> that this state represents.
style - Array of key, value pairs that constitute the style.
Copyright ( c ) 2006 - 2015 JGraph Ltd Copyright ( c ) 2006 - 2015 Gaudenz Alder Class : mxCellState
A state object that can be used to change the position of the cell