 following example adds a new style called &lsquo;rounded&rsquo; into an existing stylesheet:</p><blockquote><pre class="prettyprint">var style = new Object();
style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_RECTANGLE;
style[mxConstants.STYLE_PERIMETER] = mxPerimeter.RectanglePerimeter;
style[mxConstants.STYLE_ROUNDED] = true;
graph.getStylesheet().putCellStyle('rounded', style);</pre></blockquote><p>In the above example, the new style is an object.&nbsp; The possible keys of the object are all the const