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 | |
W | |
warn, mxLog | |
write, mxLog | |
writeAttribute, mxObjectCodec | |
writeComplexAttribute, mxObjectCodec | |
writeln, mxLog | |
writePrimitiveAttribute, mxObjectCodec |
Converts the given degree to radians.
static function toRadians( $deg )
Transforms the given control point to an absolute point.
function transformControlPoint( $state, $pt )
Translates the geometry by the specified amount.
function translate( $dx, $dy )
Creates a new list of new points obtained by translating the points in the given list by the given vector.
static function translatePoints( $pts, $dx, $dy )
Updates the bounding box in the given cell state.
function updateBoundingBox( $state )
Updates the given mxCellState.
function updateCellState( $state, $source, $target )
Updates the bounds of the specified state based on the absolute points in the state.
function updateEdgeBounds( $state )
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
function updateEdgeParent( $edge, $root )
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
function updateEdgeParents( $cell, $root = null )
Validates the given cell state.
function updateEdgeState( $state, $geo, $source, $target )
Sets the fixed source or target terminal point on the given edge.
function updateFixedTerminalPoint( $edge, $terminal, $source, $constraint )
Sets the initial absolute terminal points in the given state before the edge style is computed.
function updateFixedTerminalPoints( $edge, $source, $target )
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 updateFloatingTerminalPoint( $edge, $start, $end, $source )
Updates the terminal points in the given state after the edge style was computed for the edge.
function updateFloatingTerminalPoints( $state, $source, $target )
Updates the label bounds in the given state.
function updateLabelBounds( $state )
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
function updatePoints( $edge, $points, $source, $target )
Updates the absoluteOffset of the given vertex cell state.
function updateVertexLabelOffset( $state )
Validates the given cell state.
function updateVertexState( $state, $geo )
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
function validate( $cell = null )
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
function validateCell( $cell, $visible = true )
Logs a warn trace.
static function warn( $text )
Writes a line to the log.
static function write( $text )
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
function writeAttribute( $enc, $obj, $attr, $value, $node )
Writes the given value as a child node of the given node.
function writeComplexAttribute( $enc, $obj, $attr, $value, $node )
Writes a line with a linefeed to the log.
static function writeln( $text )
Writes the given value as an attribute of the given node.
function writePrimitiveAttribute( $enc, $obj, $attr, $value, $node )