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