P | |
paintCell, mxGraph | |
paintState, mxGraph | |
parsePoints, mxGraphViewImageReader | |
parseState, mxGraphViewImageReader | |
parseXml, mxUtils | |
postProcessCellStyle, mxGraph | |
processInclude, mxObjectCodec | |
putCellStyle, mxStylesheet | |
putDefaultEdgeStyle, mxStylesheet | |
putDefaultVertexStyle, mxStylesheet | |
putImage, mxImageBundle | |
putObject, mxCodec | |
putValue, mxStyleRegistry | |
R | |
read, mxGraphViewImageReader | |
readFile | |
reference, mxCodec | |
register, mxCodecRegistry | |
remove | |
removeAllStylenames, mxUtils | |
removeEdge, mxCell | |
removeFromParent, mxCell | |
removeFromTerminal, mxCell | |
removeImageBundle, mxGraph | |
removeState, mxGraphView | |
removeStylename, mxUtils | |
resolve, mxCellPath | |
restoreClone, mxGraphModel |
Parses a string that represents a list of points into an array of mxPoints.
function parsePoints( $str )
Parses the bounds, absolute points and label information from the style of the state into its respective fields and returns the label of the cell.
function parseState( $state, $edge )
Returns a new DOM document for the given XML string.
static function parseXml( $xml )
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
function postProcessCellStyle( $style )
Returns true if the given node is an include directive and executes the include by decoding the XML document.
function processInclude( $dec, $node, $into )
Stores the specified style under the given name.
function putCellStyle( $name, $style )
Sets the default style for edges.
function putDefaultEdgeStyle( $style )
Sets the default style for vertices.
function putDefaultVertexStyle( $style )
Adds the specified entry to the map.
function putImage( $key, $value )
Assoiates the given object with the given ID.
function putObject( $id, $object )
Puts the given object into the registry under the given name.
static function putValue( $name, $value )
Reads the specified view XML string.
function read( $string )
Reads the specified view XML file in blocks of 4096 bytes.
function readFile( $filename )
Reads the given filename into a string.
static function readFile( $filename )
Hook for subclassers to implement a custom method for retrieving IDs from objects.
function reference( $obj )
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
static function register( $codec )
Removes the child at the specified index from the child array and returns the child that was removed.
function remove( $index )
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
function remove( $cell )
Removes all stylenames from the given style and returns the updated style.
static function removeAllStylenames( $style )
Removes the specified edge from the edge array and returns the edge.
function removeEdge( $edge, $outgoing )
Removes the cell from its parent.
function removeFromParent()
Removes the edge from its source or target terminal.
function removeFromTerminal( $source )
Removes the specified mxImageBundle.
function removeImageBundle( $bundle )
Removes and returns the mxCellState for the given cell.
function removeState( $cell, $recurse = false )
Removes all occurrences of the specified stylename in the given style and returns the updated style.
static function removeStylename( $style, $stylename )
Returns the cell for the specified cell path using the given root as the root of the path.
static function resolve( $root, $path )
Inner helper method for restoring the connections in a network of cloned cells.
function restoreClone( $clne, $cell, $mapping )