private static List<MPoint> addLineType(
			PathwayElement pwElt, String connectorType,
			List<Double> mPointsDoubles) {
		List<MPoint> mPoints = new ArrayList<MPoint>();
		
		// type of line
		if (connectorType.toLowerCase().equals("curved")) {
			pwElt.setConnectorType(ConnectorType.CURVED);
			createMPoints(pwElt, mPoints, mPointsDoubles);
			
			// add MPoints
			pwElt.setMPoints(mPoints);
		} else if (connectorType.toLowerCase().equals("segmented")) {
			pwElt.setConnectorType(ConnectorType.SEGMENTED);
			createMPoints(pwElt, mPoints, mPointsDoubles);
			
			// add MPoints
			pwElt.setMPoints(mPoints);
			
		} else if (connectorType.toLowerCase().equals("elbow")) {
			pwElt.setConnectorType(ConnectorType.ELBOW);
			createMPoints(pwElt, mPoints, mPointsDoubles);
			
			// add MPoints
			pwElt.setMPoints(mPoints);
			
		} else if (connectorType.toLowerCase().equals("straight")) {
			pwElt.setConnectorType(ConnectorType.STRAIGHT);
			createMPoints(pwElt, mPoints, mPointsDoubles);
			
			// add MPoints
			pwElt.setMPoints(mPoints);

		} else {
			pwElt.setConnectorType(ConnectorType.STRAIGHT);
			createMPoints(pwElt, mPoints, mPointsDoubles);
			
			// add MPoints
			pwElt.setMPoints(mPoints);
		}
		return mPoints;
	}