plugins/routers/joint.routers.manhattan.js
function align(point, grid, precision) {

        return round(snapToGrid(point.clone(), grid), precision);
    }
function align(point, grid, precision) {

        return round(snapToGrid(point.clone(), grid), precision);
    }
function align ( point , grid , precision ) { return round ( snapToGrid ( point . clone ( ) , grid ) , precision ) ; }
snap to grid and then round the point
snap to grid and then round the point