G | |
getAttribute, mxCell | |
getAttributeName, mxObjectCodec | |
getBoundingBox | |
getBounds, mxGraphView | |
getBoundsForCells, mxGraph | |
getCellBounds, mxGraph | |
getCellGeometry, mxGraph | |
getCells, mxGraphModel | |
getCellStyle | |
getCenterX, mxRectangle | |
getCenterY, mxRectangle | |
getChildAt | |
getChildCount | |
getChildOffsetForCell, mxGraph | |
getCodec, mxCodecRegistry | |
getColor, mxGdCanvas | |
getConnectionConstraint, mxGraph | |
getConnectionPoint, mxGraph | |
getDefaultEdgeStyle, mxStylesheet | |
getDefaultParent, mxGraph | |
getDefaultVertexStyle, mxStylesheet | |
getDirectedEdgeCount, mxGraphModel | |
getEdgeAt | |
getEdgeCount | |
getEdgeIndex, mxCell | |
getEdges, mxGraphModel | |
getEdgeStyle, mxGraphView | |
getElementById, mxCodec | |
getFieldName, mxObjectCodec | |
getFieldTemplate, mxObjectCodec | |
getFixedFontSize | |
getGeometry | |
getGraphBounds | |
getHashCode, mxGraphView | |
getHtml, mxHtmlCanvas | |
getId | |
getImage | |
getImageBundles, mxGraph | |
getImageForStyle, mxGdCanvas | |
getImageFromBundles, mxGraph | |
getImages, mxImageBundle | |
getIndex, mxCell | |
getInstanceForName, mxCodecRegistry | |
getLabel, mxGraph | |
getLabelPaintBounds, mxUtils | |
getLabelSize, mxUtils | |
getModel, mxGraph | |
getName | |
getNearestCommonAncestor, mxGraphModel | |
getNextPoint, mxGraphView | |
getNumber, mxUtils | |
getObject, mxCodec | |
getOrigin, mxGraphModel | |
getPaintBounds, mxGraph | |
getParent | |
getParentPath, mxCellPath | |
getPerimeterBounds | |
getPerimeterFunction, mxGraphView | |
getPerimeterPoint, mxGraphView | |
getPoint, mxGraphView | |
getProperties, mxEventObject | |
getProperty, mxEventObject | |
getRoot, mxGraphModel | |
getRotatedPoint, mxUtils | |
getRoutingCenterX, mxGraphView | |
getRoutingCenterY, mxGraphView | |
getScaledLabelBounds, mxUtils | |
getSizeForString, mxUtils | |
getState, mxGraphView | |
getStates, mxGraphView | |
getStyle | |
getStylename, mxUtils | |
getStylenames, mxUtils | |
getStylesheet, mxGraph | |
getTerminal | |
getTerminalPoint, mxGeometry | |
getTerminalPort, mxGraphView | |
getTrueTypeFont | |
getTrueTypeFontSize | |
getValue | |
getView, mxGraph | |
getVisibleTerminal, mxGraphView | |
graphModelChanged, mxGraph | |
grow, mxRectangle |
Returns the specified attribute from the user object if it is an XML node.
function getAttribute( $key, $defaultValue = null )
Returns the attributename for the given fieldname.
function getAttributeName( $fieldname )
Returns the bounding box of the given cell including all connected edges if includeEdge is true.
function getBoundingBox( $cell, $includeEdges = false, $includeDescendants = false )
Returns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
function getBoundingBox( $state, $recurse = true )
Returns the bounding box for the rotated rectangle.
static function getBoundingBox( $rect, $rotation )
Returns the bounding for for an array of cells or null, if no cells are specified.
function getBounds( $cells, $boundingBox = false )
Returns the bounds for the given cells.
function getBoundsForCells( $cells, $includeEdges = false, $includeDescendants = false, $boundingBox = false )
Returns the bounds of the given cell including all connected edges if includeEdge is true.
function getCellBounds( $cell, $includeEdges = false, $includeDescendants = false, $boundingBox = false )
Returns the mxGeometry for the given mxCell.
function getCellGeometry( $cell )
Returns the internal lookup table that is used to map from Ids to cells.
function getCells()
function getCellStyle( $cell )
Returns the cell style for the specified cell or the given defaultStyle if no style can be found for the given stylename.
function getCellStyle( $name, $defaultStyle = null )
Returns the x-coordinate of the center point.
function getCenterX()
Returns the y-coordinate of the center point.
function getCenterY()
Returns the child at the specified index.
function getChildAt( $index )
Returns the child of the given mxCell at the given index.
function getChildAt( $cell, $index )
Returns the number of child cells.
function getChildCount()
Returns the number of children in the given cell.
function getChildCount( $cell )
Returns the offset to be used for the cells inside the given cell.
function getChildOffsetForCell( $cell )
Returns a codec that handles objects that are constructed using the given ctor.
static function getCodec( $name )
Allocates the given color and returns a reference to it.
function getColor( $hex, $default = null )
Returns an mxConnectionConstraint that describes the given connection point.
function getConnectionConstraint( $edge, $terminal, $source )
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
function getConnectionPoint( $vertex, $constraint )
Sets the default style for edges.
function getDefaultEdgeStyle()
Returns the first child child of mxGraphModel.root.
function getDefaultParent()
Returns the default style for vertices.
function getDefaultVertexStyle()
Returns the number of incoming or outgoing edges, ignoring the given edge.
function getDirectedEdgeCount( $cell, $outgoing, $ignoredEdge = null )
Returns the edge at the specified index in edges.
function getEdgeAt( $index )
Returns the edge of cell at the given index.
function getEdgeAt( $cell, $index )
Returns the number of edges in the edge array.
function getEdgeCount()
Returns the number of distinct edges connected to the given cell.
function getEdgeCount( $cell )
Returns the index of the specified edge in edges.
function getEdgeIndex( $edge )
Returns all distinct edges connected to this cell as an array of mxCells.
function getEdges( $cell )
Returns the edge style function to be used to render the given edge state.
function getEdgeStyle( $edge, $points, $source, $target )
Returns the element with the given ID from document.
function getElementById( $id, $attr = "id" )
Returns the fieldname for the given attributename.
function getFieldName( $attributename )
Returns the template instance for the given field.
function getFieldTemplate( & $obj, $fieldname, $child )
Returns the fixed font size for GD (1 t0 5) for the given font properties
function getFixedFontSize( $fontSize, $fontFamily, $fontStyle = null )
Returns the fixed font size for GD (1 t0 5) for the given font properties
static function getFixedFontSize( $fontSize, $fontFamily, $fontStyle = null )
Returns the mxGeometry that describes the geometry.
function getGeometry()
Returns the mxGeometry of the given mxCell.
function getGeometry( $cell )
Returns the bounds of the visible graph.
function getGraphBounds()
Returns graphBounds.
function getGraphBounds()
Returns a unique string that represents the given instance.
function getHashCode( $cell )
Gets the HTML that represents the canvas.
function getHtml()
Returns the Id of the cell as a string.
function getId()
Returns the ID of the specified object.
function getId( $obj )
Returns an image that represents this canvas.
function getImage()
Returns the value for the given key.
function getImage( $key )
Returns the imageBundles.
function getImageBundles()
Returns an image that represents this canvas.
function getImageForStyle( $style )
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
function getImageFromBundles( $key )
Returns the images.
function getImages()
Returns the index of the specified child in the child array.
function getIndex( $child )
Creates and returns a new instance for the given class name.
static function getInstanceForName( $name )
Returns a string or DOM node that represents the label for the given cell.
function getLabel( $cell )
Returns the paint bounds for the given label.
static function getLabelPaintBounds( $label, $style, $isHtml, $offset, $vertexBounds, $scale )
Returns the size of the given label.
static function getLabelSize( $label, $style )
Returns the mxGraphModel that contains the cells.
function getModel()
Returns the codec name for the given object instance.
static function getName( $obj )
Returns name.
function getName()
Creates a new instance of the template for this codec.
function getName()
Returns the name for the given value.
static function getName( $value )
Returns the nearest common ancestor for the specified cells.
function getNearestCommonAncestor( $cell1, $cell2 )
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
function getNextPoint( $edge, $opposite, $source )
Returns the value for key in dictionary or 0 if no value is defined for the key.
static function getNumber( $dict, $key, $default = )
Returns the decoded object for the element with the specified ID in document.
function getObject( $id )
Returns the absolute, cummulated origin for the children inside the given parent as an mxPoint.
function getOrigin( $cell )
Returns the bounding box of the given cells and their descendants.
function getPaintBounds( $cells )
Returns the cell’s parent.
function getParent()
Returns the parent of the given cell.
function getParent( $cell )
Returns the cell for the specified cell path using the given root as the root of the path.
static function getParentPath( $path )
Returns the mxRectangle that should be used as the perimeter of the cell.
function getPerimeterBounds( $border = 0 )
Returns the perimeter bounds for the given terminal, edge pair as an mxRectangle.
function getPerimeterBounds( $terminal, $border = 0 )
Returns the perimeter function for the given state.
function getPerimeterFunction( $state )
Returns an mxPoint that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
function getPerimeterPoint( $terminal, $next, $orthogonal, $border = null )
Returns the absolute point on the edge for the given relative mxGeometry as an mxPoint.
function getPoint( $state, $geometry = null )
Returns properties.
function getProperties()
Returns the property value for the given key.
function getProperty( $key )
Returns the root of the model.
function getRoot()
Rotates the given point by the given cos and sin.
static function getRotatedPoint( $pt, $cos, $sin, $cx = null )
Returns the x-coordinate of the center point for automatic routing.
function getRoutingCenterX( $state )
Returns the y-coordinate of the center point for automatic routing.
function getRoutingCenterY( $state )
Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label.
static function getScaledLabelBounds( $x, $y, $size, $outerWidth, $outerHeight, $style, $scale )
Returns an mxRectangle with the size (width and height in pixels) of the given string.
static function getSizeForString( $text, $fontSize = 0, $fontFamily = null )
Returns the cell state for the specified cell.
function getState( $cell, $create = false )
Returns the mxCellStates for the given array of mxCells.
function getStates()
Returns a string that describes the style.
function getStyle()
Returns the style of the given mxCell.
function getStyle( $cell )
Returns the stylename in a style of the form [stylename;|key=value;] or an empty string if the given style does not contain a stylename.
static function getStylename( $style )
Returns the stylenames in a style of the form [stylename;|key=value;] or an empty array if the given style does not contain any stylenames.
static function getStylenames( $style )
Returns the mxStylesheet that defines the style.
function getStylesheet()
Returns the source or target terminal.
function getTerminal( $source )
Returns the source or target mxCell of the given edge depending on the value of the boolean parameter.
function getTerminal( $edge, $cource )
Returns the mxPoint representing the source or target point of this edge.
function getTerminalPoint( $isSource )
Returns an mxCellState that represents the source or target terminal or port for the given edge.
function getTerminalPort( $state, $terminal, $source )
Returns the truetype font to be used to draw the text with the given style.
function getTrueTypeFont( $style )
Returns the truetype font to be used to draw the text with the given style.
static function getTrueTypeFont( $style )
Returns the truetype font size to be used to draw the text with the given style.
function getTrueTypeFontSize( $style )
Returns the truetype font size to be used to draw the text with the given style.
static function getTrueTypeFontSize( $size )
Returns the user object of the cell.
function getValue()
Returns the user object of the given mxCell using mxCell.getValue.
function getValue( $cell )
Returns the value associated with the given name.
static function getValue( $name )
Returns the value for key in dictionary or the given default value if no value is defined for the key.
static function getValue( $dict, $key, $default = null )
Returns the mxGraphView that contains the mxCellStates.
function getView()
Returns the nearest ancestor terminal that is visible.
function getVisibleTerminal( $edge, $source )
Called when the graph model has changed.
function graphModelChanged( $event )
Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.
function grow( $amount )