@Override
	public void mousePressed(MouseEvent event) {
		if (event.getModifiers() == InputEvent.BUTTON1_MASK
				|| event.isControlDown() || event.isShiftDown()) {
			if (event.getClickCount() == 2 || event.isShiftDown()) {
				if (!controller.isVertex(event.getPoint())) {
					controller.addVertex(event.getPoint());
					controller.getCurrentGraph().setActualObject(event.getPoint());
					controller.repaint();
				}
			}
		}
	}