public static String create(mxICell cell){
  String result="";
  if (cell != null) {
    mxICell parent=cell.getParent();
    while (parent != null) {
      int index=parent.getIndex(cell);
      result=index + mxCellPath.PATH_SEPARATOR + result;
      cell=parent;
      parent=cell.getParent();
    }
  }
  return (result.length() > 1) ? result.substring(0,result.length() - 1) : "";
}

public static String create ( mxICell cell ) { String result = "" ; if ( cell != null ) { mxICell parent = cell . getParent ( ) ; while ( parent != null ) { int index = parent . getIndex ( cell ) ; result = index + mxCellPath . PATH_SEPARATOR + result ; cell = parent ; parent = cell . getParent ( ) ; } } return ( result . length ( ) > 1 ) ? result . substring ( 0 , result . length ( ) - 1 ) : "" ; }
creates the cell path for the given cell . the cell path is a concatenation of the indices of all cells on the ( finite ) path to the root , eg . " 0 . 0 . 0 . 1 " .
