Weight in matrix

When you draw edge weight insert into matrix