nl_tokens: Handles the window resize event .
pl_tokens: function onResize ( ) { // Update graph parameters. graphWidth = <mask> . innerWidth ; graphHeight = window . innerHeight ; graph . attr ( 'width' , graphWidth ) . attr ( 'height' , graphHeight ) ; layout . size ( [ graphWidth , graphHeight ] ) . resume ( ) ; updateMenuUI ( ) ; updateTableUIExtent ( ) ; // Hides any existing node context menu. hideNodeContextMenu ( ) ; centerGraph ( zoomFit , 1000 , data . allNodesFixed ? 0 : 2000 ) ; }