CellRenderer.registerShape('myShape', MyShape);
		
		mxVertexHandler.prototype.createCustomHandles = function()
		{
			if (this.state.style['shape'] == 'myShape')
			{
				// Implements the handle for the first divider
				var firstHandle = new mxHandle(this.state);
				
				firstHandle.getPosition = function(bounds)
				{
					var pos2 = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, 'pos2', MyShape.prototype.defaultPos2))));
					var pos1 = Math.max(0, Math.min(pos2, par