I | |
indexOf, mxUtils | |
indexOfStylename, mxUtils | |
info, mxLog | |
insert, mxCell | |
insertEdge | |
insertIntoGraph, mxCodec | |
insertVertex, mxGraph | |
intersection, mxUtils | |
invalidate, mxGraphView | |
isAncestor, mxGraphModel | |
isCellCollapsed, mxGraph | |
isCellVisible, mxGraph | |
isCollapsed | |
isConnectable | |
isConsumed, mxEventObject | |
isEdge | |
isExcluded, mxObjectCodec | |
isNode, mxUtils | |
isOrthogonal, mxGraph | |
isReference, mxObjectCodec | |
isVertex | |
isVisible | |
L | |
leave, mxLog | |
loadImage | |
loadXmlDocument, mxUtils | |
lookup, mxCodec | |
M | |
mergeChildren, mxGraphModel | |
mergeChildrenImpl, mxGraphModel | |
mxCell, mxCell | |
mxCellState, mxCellState | |
mxConnectionConstraint, mxConnectionConstraint | |
mxEventObject, mxEventObject | |
mxGdCanvas | |
mxGeometry, mxGeometry | |
mxGraphModel | |
mxGraphView, mxGraphView | |
mxGraphViewHtmlReader | |
mxGraphViewImageReader, mxGraphViewImageReader | |
mxImageBundle, mxImageBundle | |
mxObjectCodec | |
mxPoint, mxPoint | |
mxRectangle, mxRectangle | |
mxStylesheet, mxStylesheet | |
O | |
offset, mxGdCanvas | |
out, mxHtmlCanvas |
Returns the index of obj in array or -1 if the array does not contains the given object.
static function indexOf( $array, $object )
Returns the index of the given stylename in the given style.
static function indexOfStylename( $style, $stylename )
Logs an info trace.
static function info( $text )
Inserts the specified child into the child array at the specified index and updates the parent reference of the child.
function insert( $child, $index = null )
Inserts the specified edge into the edge array and returns the edge.
function insertEdge( $edge, $outgoing )
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
function insertEdge( $parent, $id = null, $value = null, $source = null, $target = null, $style = null )
Inserts the given cell into its parent and terminal cells.
function insertIntoGraph( $cell )
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
function insertVertex( $parent, $id = null, $value = null, $x = 0, $y = 0, $width = 1, $height = 1, $style = null, $relative = false )
Returns the intersection of two lines as an mxPoint.
static function intersection( $x0, $y0, $x1, $y1, $x2, $y2, $x3, $y3 )
Returns true if the given parent is an ancestor of the given child.
function isAncestor( $parent, $child )
Returns true if the given cell is collapsed.
function isCellCollapsed( $cell )
Returns true if the given cell is visible.
function isCellVisible( $cell )
Returns true if the cell is collapsed.
function isCollapsed()
Returns true if the given mxCell is collapsed.
function isCollapsed( $cell )
Returns true if the cell is connectable.
function isConnectable()
Returns true if the given mxCell is connectable.
function isConnectable( $cell )
Returns true if the event has been consumed.
function isConsumed()
Returns true if the cell is an edge.
function isEdge()
Returns true if the given cell is an edge.
function isEdge( $cell )
Returns true if the given attribute is to be ignored by the codec.
function isExcluded( $obj, $attr, $value, $write )
Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.
static function isNode( $value, $nodeName = null, $attributeName = null, $attributeValue = null )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
function isOrthogonal( $edge )
Returns true if the given fieldname is to be treated as a textual reference (ID).
function isReference( $obj, $attr, $value, $write )
Returns true if the cell is a vertex.
function isVertex()
Returns true if the given cell is a vertex.
function isVertex( $cell )
Returns true if the cell is visibile.
function isVisible()
Returns true if the given mxCell is visible.
function isVisible( $cell )
Logs a method exit.
static function leave( $text = "" )
Returns an image instance for the given URL.
function loadImage( $image )
Loads an image from the local filesystem, a data URI or any other URL.
static function loadImage( $url )
Returns a new DOM document for the given URI.
static function loadXmlDocument( $uri )
Hook for subclassers to implement a custom lookup mechanism for cell IDs.
function lookup( $id )
Merges the children of the given cell into the given target cell inside this model.
function mergeChildren( $from, $to, $cloneAllEdges = true )
Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model.
function mergeChildrenImpl( $from, $to, $cloneAllEdges, $mapping )
Constructs a new cell to be used in a graph model.
function mxCell( $value = null, $geometry = null, $style = null )
Constructs a new object that represents the current state of the given cell in the specified view.
function mxCellState( $view = null, $cell = null, $style = null )
Constructs a new connection constraint for the given point and boolean arguments.
function mxConnectionConstraint( $point = null, $perimeter = true )
Constructs a new event for the given name and properties.
function mxEventObject( $name )
Constructs a new GD canvas.
function mxGdCanvas( $width = 0, $height = 0, $scale = 1, $background = null, $imageBasePath = "" )
Constructs a new object to describe the size and location of a vertex or the control points of an edge.
function mxGeometry( $x = 0, $y = 0, $width = 0, $height = 0 )
Constructs a new graph model using the specified root cell.
function mxGraphModel( $root = null )
Constructs a new view for the specified mxGraph.
function mxGraphView( $graph )
Constructs a new HTML graph view reader.
function mxGraphViewHtmlReader()
Constructs a new image graph view reader.
function mxGraphViewImageReader( $background = null, $border = 0 )
Constructs a new image bundle.
function mxImageBundle()
Constructs a new codec for the specified template object.
function mxObjectCodec( $template, $exclude = array(), $idrefs = array(), $mapping = array() )
Constructs a new point for the optional x and y coordinates.
function mxPoint( $x = 0, $y = 0 )
Constructs a new rectangle for the optional parameters.
function mxRectangle( $x = 0, $y = 0, $width = 0, $height = 0 )
Constructs a new stylesheet and assigns default styles.
function mxStylesheet()
Creates a new array of x, y sequences where the each coordinate is translated by dx and dy, respectively.
function offset( $points, $dx = null, $dy = null )
Adds the specified string to the output.
function out( $string )