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