représentation matricielle d'un graphe