nl_tokens: change the paper and label sizes to suit the capture
pl_tokens: function ( ) { var self = this ; var idx = self . capture_idx ; self . w = ( ( idx . end - idx . start ) / 1000 * self . pix_per_sec ) + margin [ 1 ] + margin [ 3 ] ; self . h = margin [ 0 ] + <mask> [ 2 ] ; for ( var s in idx . servers ) { self . h += ( self . server_pad * 2 ) ; self . h += ( ( idx . servers [ s ] [ 1 ] . length ) * self . conn_pad ) ; } console . log ( "resizing to " + self . w + " x " + self . h ) ; paper . setSize ( self . w , self . h ) ; labels . setSize ( self . label_w , self . h ) ; }