private int cheminPlusLongVersFeuille(Model model, Generalization parent) {
		if(parent == null){
			return 0;
		} else {
			ArrayList<Integer> nbcourant = new ArrayList();
			for(String str : parent.getArrayIdent()){
				Classe c = this.getClasseByModel(model, str);
				Generalization enfant = null;
				for(Generalization temp : model.getGeneralization()){
					if(temp.getIdentifier().equals(c.getIdentifier())){
						enfant = temp;
					}
				}
				nbcourant.add(1 + cheminPlusLongVersFeuille(model, enfant));
			}
			return Collections.max(nbcourant);
			
		}		
	}