				})
			);
			this.domNode.appendChild(img);

			// Connect
			var img = createImage('images/check.png');
			img.setAttribute('title', 'Connect');
			img.style.cursor = 'pointer';
			img.style.width = '16px';
			img.style.height = '16px';
			mxEvent.addGestureListeners(img,
				mxUtils.bind(this, function(evt)
				{
					var pt = mxUtils.convertPoint(this.graph.container,
							mxEvent.getClientX(evt), mxEvent.getClientY(evt));
					this.graph.connectionHandler.start(this.state, pt.x, pt.y);
					this.gr