private double getAngle(Edge edge)
	{
		double x1 = edge.getFromNode().getxCoord();
		double y1 = edge.getFromNode().getyCoord();
		double x2 = edge.getToNode().getxCoord();
		double y2 = edge.getToNode().getyCoord();

		double xDiff = x2 - x1;
		double yDiff = y2 - y1;
		double angle = -Math.atan2(yDiff, xDiff);
		if (Math.toDegrees(angle) >= 180)
		{
			return angle + Math.PI;
		} else
		{
			return angle;
		}
	}