Bonjour,
Comment je peut ajouter des points sur un edge pour pouvoire lui changer la forme.
Bonjour,
Comment je peut ajouter des points sur un edge pour pouvoire lui changer la forme.
Pour ceux qui s'interessent...
voici le code:
List listPoints = new ArrayList();
listPoints.add( cells[0].getChildAt(0) ) ;
listPoints.add( new AttributeMap.SerializablePoint2D(312,388) ) ;
listPoints.add( cells[1].getChildAt(0) ) ;
GraphConstants.setPoints(edge.getAttributes(),listPoints);
Partager