Example #1
0
        /// <summary>
        /// Creates and returns a cell state for the given cell.
        /// </summary>
        /// <param name="cell">Cell for which a new state should be created.</param>
        /// <returns>Returns a new state for the given cell.</returns>
        public mxCellState CreateState(Object cell)
        {
            Dictionary <string, Object> style = graph.GetCellStyle(cell);

            return(new mxCellState(this, cell, style));
        }