Edge weight drawing

Now the weight of the edge drawing near the centre of the edge.