ajout mehode drawEdge