Map edgeAttribute = GraphConstants.createMap();  AllAttribute.put(lienComp, edgeAttribute);  GraphConstants.setLineEnd(edgeAttribute, GraphConstants.ARROW_CLASSIC); GraphConstants.setEndFill(edgeAttribute, true); GraphConstants.setDisconnectable(edgeAttribute,false); GraphConstants.setEditable(edgeAttribute,false);
AllAttribute.put(lienComp, lienComp.getEdgeAttribute());
	public boolean executer()	{		DefaultEdge lienComp = new DefaultEdge();		  		Map edgeAttribute = GraphConstants.createMap();				AllAttribute.put(lienComp, edgeAttribute);		GraphConstants.setLineEnd(edgeAttribute, GraphConstants.ARROW_CLASSIC);		GraphConstants.setEndFill(edgeAttribute, true);		GraphConstants.setDisconnectable(edgeAttribute,false);		GraphConstants.setEditable(edgeAttribute,false);				Vector vecObj = new Vector();				if (!diagramme.getModel().contains(cellS))		{			vecObj.add(cellS);		}		if (!diagramme.getModel().contains(cellD))		{			vecObj.add(cellD);		}        vecObj.add(lienComp);                ConnectionSet cs = new ConnectionSet(lienComp, portS, portD);             diagramme.getModel().insert(vecObj.toArray(), AllAttribute, null, null, null);		diagramme.getModel().insert(null, null, cs, null, null);	        		diagramme.show();				return true;	}