public Map<String, List<String>> getNaryRels(){
		this.nRels = new HashMap<String,List<String>>();
		Set<String> relNames = rels.keySet();
		Iterator<String> relNameItr = relNames.iterator();
		while(relNameItr.hasNext()){
			String relName = relNameItr.next();
			Vector<ErdNode> links = rels.get(relName).getLinks();
			if (links.size()>2){
				List<String> relatedEntities = new ArrayList<String>();
				for(int i = 0; i <links.size(); i++){
					String tName = links.get(i).getTableName();
					if(entities.keySet().contains(tName)){
						relatedEntities.add(tName);
					}
				}
				nRels.put(relName, relatedEntities);
			}
		}
		return nRels;
	}