T | |
tab, mxLog | |
target, mxCell | |
targetPoint, mxGeometry | |
template, mxObjectCodec | |
terminalDistance, mxCellState | |
TopToBottom, mxEdgeStyle | |
toRadians, mxUtils | |
transformControlPoint, mxGraphView | |
translate | |
TRANSLATE, mxEvent | |
TRANSLATE_CONTROL_POINTS, mxGeometry | |
translatePoints, mxUtils | |
TrianglePerimeter, mxPerimeter | |
TTF_ENABLED, mxConstants | |
TTF_SIZEFACTOR, mxConstants | |
U | |
updateBoundingBox, mxGraphView | |
updateCellState, mxGraphView | |
updateEdgeBounds, mxGraphView | |
updateEdgeParent, mxGraphModel | |
updateEdgeParents, mxGraphModel | |
updateEdgeState, mxGraphView | |
updateFixedTerminalPoint, mxGraphView | |
updateFixedTerminalPoints, mxGraphView | |
updateFloatingTerminalPoint, mxGraphView | |
updateFloatingTerminalPoints, mxGraphView | |
updateLabelBounds, mxGraphView | |
updateLevel, mxGraphModel | |
updatePoints, mxGraphView | |
updateVertexLabelOffset, mxGraphView | |
updateVertexState, mxGraphView | |
V | |
validate, mxGraphView | |
validateCell, mxGraphView | |
validateCellStates, mxGraphView | |
value, mxCell | |
values, mxStyleRegistry | |
Variables | |
vertex, mxCell | |
view | |
visible, mxCell | |
W | |
W3C_DEFAULT_FONTFAMILY, mxConstants | |
W3C_SHADOWCOLOR, mxConstants | |
warn, mxLog | |
width, mxRectangle | |
write, mxLog | |
writeAttribute, mxObjectCodec | |
writeComplexAttribute, mxObjectCodec | |
writeln, mxLog | |
writePrimitiveAttribute, mxObjectCodec | |
X | |
x, mxPoint | |
Y | |
y, mxPoint |
Default is true.
public static $tab
Reference to the target terminal.
var $target
Defines the target point of the edge.
var $targetPoint
Holds the template object associated with this codec.
var $template
Caches the distance between the end points for an edge.
var $terminalDistance
Provides a top to bottom connector.
public static $TopToBottom
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 )
Holds the current translate.
var $translate
Defines the name of the translate event.
public static $TRANSLATE
Global switch to translate the points in translate.
public static $TRANSLATE_CONTROL_POINTS
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 )
Provides a triangle perimeter.
public static $TrianglePerimeter
Whether TrueType fonts should be enabled in the mxGdCanvas by default.
public static $TTF_ENABLED
Defines the factor which wich the font sizes are to be multiplied when used in truetype fonts.
public static $TTF_SIZEFACTOR
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 )
Counter for the depth of nested transactions.
var $updateLevel
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 )
Holds the user object.
var $value
Maps from strings to objects.
public static $values
Specifies whether the cell is a vertex.
var $vertex
Reference to the enclosing mxGraphView.
var $view
Holds the mxGraphView.
var $view
Specifies whether the cell is visible.
var $visible
Defines the default family for HTML markup.
public static $W3C_DEFAULT_FONTFAMILY
Defines the color to be used to draw shadows in DOM documents.
public static $W3C_SHADOWCOLOR
Logs a warn trace.
static function warn( $text )
Holds the width of the rectangle.
var $width
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 )
Holds the x-coordinate of the point.
var $x
Holds the y-coordinate of the point.
var $y