fixed setting the widths of the graph edges