Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 paintCell, mxGraph
 paintState, mxGraph
 parsePoints, mxGraphViewImageReader
 parseState, mxGraphViewImageReader
 parseXml, mxUtils
 postProcessCellStyle, mxGraph
 processInclude, mxObjectCodec
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
R
 read, mxGraphViewImageReader
 readFile
 reference, mxCodec
 register, mxCodecRegistry
 remove
 removeAllStylenames, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeImageBundle, mxGraph
 removeState, mxGraphView
 removeStylename, mxUtils
 resolve, mxCellPath
 restoreClone, mxGraphModel
S
 selectSingleNode, mxUtils
 setAttribute
 setCellStyleFlags, mxUtils
 setCellStyles
 setCollapsed
 setConnectable, mxCell
 setEdge, mxCell
 setGeometry
 setGraphBounds, mxGraphView
 setId, mxCell
 setImage, mxGdCanvas
 setImageBundles, mxGraph
 setParent, mxCell
 setRect, mxRectangle
 setRoot, mxGraphModel
 setScale, mxGraphView
 setStyle
 setStyleFlag, mxUtils
 setTerminal
 setTerminalPoint, mxGeometry
 setTerminals, mxGraphModel
 setTranslate, mxGraphView
 setValue
 setVertex, mxCell
 setVisible
 stackTrace, mxUtils
 startElement, mxGraphViewImageReader
 styles, mxStylesheet
Draws the given cell onto the specified canvas.
Draws the given cell and label onto the specified canvas.
function parsePoints($str)
Parses a string that represents a list of points into an array of mxPoints.
function parseState($state,
$edge)
Parses the bounds, absolute points and label information from the style of the state into its respective fields and returns the label of the cell.
static function parseXml($xml)
Returns a new DOM document for the given XML string.
function postProcessCellStyle($style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
function processInclude($dec,
$node,
$into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
function putCellStyle($name,
$style)
Stores the specified style under the given name.
function putDefaultEdgeStyle($style)
Sets the default style for edges.
function putDefaultVertexStyle($style)
Sets the default style for vertices.
function putImage($key,
$value)
Adds the specified entry to the map.
function putObject($id,
$object)
Assoiates the given object with the given ID.
static function putValue($name,
$value)
Puts the given object into the registry under the given name.
function read($string)
Reads the specified view XML string.
function readFile($filename)
Reads the specified view XML file in blocks of 4096 bytes.
static function readFile($filename)
Reads the given filename into a string.
function reference($obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
static function register($codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
function remove($index)
Removes the child at the specified index from the child array and returns the child that was removed.
function remove($cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
static function removeAllStylenames($style)
Removes all stylenames from the given style and returns the updated style.
function removeEdge($edge,
$outgoing)
Removes the specified edge from the edge array and returns the edge.
function removeFromParent()
Removes the cell from its parent.
function removeFromTerminal($source)
Removes the edge from its source or target terminal.
function removeImageBundle($bundle)
Removes the specified mxImageBundle.
function removeState($cell,  
$recurse =  false)
Removes and returns the mxCellState for the given cell.
static function removeStylename($style,
$stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
static function resolve($root,
$path)
Returns the cell for the specified cell path using the given root as the root of the path.
function restoreClone($clne,
$cell,
$mapping)
Inner helper method for restoring the connections in a network of cloned cells.
static function selectSingleNode($doc,
$expr)
Evaluates the XPath expression and returns the first node of the result.
function setAttribute($key,
$value)
Sets the specified attribute on the user object if it is an XML node.
function setAttribute($node,
$attribute,
$value)
Sets the attribute on the specified node to value.
static function setCellStyleFlags($model,
$cells,
$key,
$flag,
$value)
Sets or toggles the flag bit for the given key in the cell’s styles.
function setCellStyles($key,
$value,
$cells)
Sets the key to value in the styles of the given cells.
static function setCellStyles($model,
$cells,
$key,
$value)
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
function setCollapsed($collapsed)
Sets the collapsed state.
function setCollapsed($cell,
$isCollapsed)
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
function setConnectable($connectable)
Sets the connectable state.
function setEdge($edge)
Specifies if the cell is an edge.
function setGeometry($geometry)
Sets the mxGeometry to be used as the geometry.
function setGeometry($cell,
$geometry)
Sets the mxGeometry of the given mxCell.
function setGraphBounds($value)
Sets graphBounds.
function setId($id)
Sets the Id of the cell to the given string.
function setImage($img)
Sets the image that represents the canvas.
function setImageBundles($value)
Sets the imageBundles.
function setParent($parent)
Sets the parent cell.
function setRect($x,
$y,
$width,
$height)
Sets this rectangle to the specified values.
function setScale($scale)
Sets the scale, revalidates the view and fires a scale event.
function setStyle($style)
Sets the string to be used as the style.
function setStyle($cell,
$style)
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
static function setStyle($style,
$key,
$value)
Adds or removes the given key, value pair to the style and returns the new style.
static function setStyleFlag($style,
$key,
$flag,
$value)
Sets or removes the given key from the specified style and returns the new style.
function setTerminal($terminal,
$source)
Sets the source or target terminal and returns the new terminal.
function setTerminal($edge,
$terminal,
$source)
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
function setTerminalPoint($point,
$isSource)
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
function setTerminals($edge,
$source,
$target)
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
function setTranslate($translate)
Sets the translation, revalidates the view and fires a translate event.
function setValue($value)
Sets the user object of the cell.
function setValue($cell,
$value)
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
function setVertex($vertex)
Specifies if the cell is a vertex.
function setVisible($visible)
Specifies if the cell is visible.
function setVisible($cell,
$visible)
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
static function stackTrace()
Prints a simple stack trace in the error log.
function startElement($parser,
$name,
$attrs)
Invoked by the SAX parser when an element starts.
var $styles = array()
Maps from names to styles.
Close