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
S
 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
T
 toRadians, mxUtils
 transformControlPoint, mxGraphView
 translate, mxGeometry
 translatePoints, mxUtils
U
 updateBoundingBox, mxGraphView
 updateCellState, mxGraphView
 updateEdgeBounds, mxGraphView
 updateEdgeParent, mxGraphModel
 updateEdgeParents, mxGraphModel
 updateEdgeState, mxGraphView
 updateFixedTerminalPoint, mxGraphView
 updateFixedTerminalPoints, mxGraphView
 updateFloatingTerminalPoint, mxGraphView
 updateFloatingTerminalPoints, mxGraphView
 updateLabelBounds, mxGraphView
 updatePoints, mxGraphView
 updateVertexLabelOffset, mxGraphView
 updateVertexState, mxGraphView
V
 validate, mxGraphView
 validateCell, mxGraphView
 validateCellStates, mxGraphView
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.
static function toRadians($deg)
Converts the given degree to radians.
function transformControlPoint($state,
$pt)
Transforms the given control point to an absolute point.
function translate($dx,
$dy)
Translates the geometry by the specified amount.
static function translatePoints($pts,
$dx,
$dy)
Creates a new list of new points obtained by translating the points in the given list by the given vector.
function updateBoundingBox($state)
Updates the bounding box in the given cell state.
function updateCellState($state,
$source,
$target)
Updates the given mxCellState.
function updateEdgeBounds($state)
Updates the bounds of the specified state based on the absolute points in the state.
function updateEdgeParent($edge,
$root)
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
function updateEdgeParents($cell,  
$root =  null)
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
function updateEdgeState($state,
$geo,
$source,
$target)
Validates the given cell state.
function updateFixedTerminalPoint($edge,
$terminal,
$source,
$constraint)
Sets the fixed source or target terminal point on the given edge.
function updateFixedTerminalPoints($edge,
$source,
$target)
Sets the initial absolute terminal points in the given state before the edge style is computed.
function updateFloatingTerminalPoint($edge,
$start,
$end,
$source)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
function updateFloatingTerminalPoints($state,
$source,
$target)
Updates the terminal points in the given state after the edge style was computed for the edge.
function updateLabelBounds($state)
Updates the label bounds in the given state.
function updatePoints($edge,
$points,
$source,
$target)
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
function updateVertexLabelOffset($state)
Updates the absoluteOffset of the given vertex cell state.
function updateVertexState($state,
$geo)
Validates the given cell state.
function validate($cell =  null)
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
function validateCell($cell,  
$visible =  true)
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
Validates and repaints the mxCellState for the given mxCell.
Close