private ErdNode getErdNodeOfTable (String tableName) throws MainException {
		
		ErdNode node = entityTypes.get(tableName);
		
		// if the table name has not been processed
		if (node == null && (node = relationshipTypes.get(tableName)) == null)
			node = constructNode(tableName);
		
		return node;
	}