@Override
	public void render() {
		String textX = Double.toString(position.getX());
		text.setAttribute("x", textX);
		text.setAttribute("y", Double.toString(position.getY()));
		NodeList lines = text.getElementsByTagName("tspan");
		for (int i=0; i<lines.getLength(); i++) {
			Element line = (Element) lines.item(i);
			line.setAttribute("x", textX);
		}
		if (isMarked()) {
			//shape.setAttribute("style", "fill:red;");
		} else {
			text.setAttribute("style", "");
		}
	}