add edge size based on weight, since only size value is used for rendering