[d3 diagram] Add arrowheads to edges.