nl_tokens: Positions the specified row of nodes . Modifies rect .
pl_tokens: function position ( row , u , rect , <mask> ) { var i = - 1 , n = row . length , x = rect . x , y = rect . y , v = u ? round ( row . area / u ) : 0 , o ; if ( u == rect . dx ) { // horizontal subdivision if ( flush || v > rect . dy ) v = v ? rect . dy : 0 ; // over+underflow while ( ++ i < n ) { o = row [ i ] ; o . x = x ; o . y = y ; o . dy = v ; x += o . dx = v ? round ( o . area / v ) : 0 ; } o . z = true ; o . dx += rect . x + rect . dx - x ; // rounding error rect . y += v ; rect . dy -= v ; } else { // vertical subdivision if ( flush || v > rect . dx ) v = v ? rect . dx : 0 ; // over+underflow while ( ++ i < n ) { o = row [ i ] ; o . x = x ; o . y = y ; o . dx = v ; y += o . dy = v ? round ( o . area / v ) : 0 ; } o . z = false ; o . dy += rect . y + rect . dy - y ; // rounding error rect . x += v ; rect . dx -= v ; } }