Implements a mechanism for temporary cell Ids.
mxCellPath | Implements a mechanism for temporary cell Ids. |
Variables | |
PATH_SEPARATOR | Defines the separator between the path components. |
Functions | |
create | Creates the cell path for the given cell. |
getParentPath | Returns the path for the parent of the cell represented by the given path. |
resolve | Returns the cell for the specified cell path using the given root as the root of the path. |
compare | Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2. |
Defines the separator between the path components.
PATH_SEPARATOR: '.'
Creates the cell path for the given cell.
create: function( cell )
Returns the path for the parent of the cell represented by the given path.
getParentPath: function( path )
Returns the cell for the specified cell path using the given root as the root of the path.
resolve: function( root, path )
Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.
compare: function( p1, p2 )