code: function fixupEdgePoints(g) {
      g.eachEdge(function(e, s, t, a) { if (a.reversed) a.points.reverse(); });
    }
docs: /*
  For each edge that was reversed during the `acyclic` step, reverse its
  array of points.