function refreshGraphStyle(){
	    zoom = zoom.scaleExtent([options.minMagnification(), options.maxMagnification()]);
	    if ( graphContainer ) {
	      zoom.event(graphContainer);
	    }

	    force.charge(function ( element ){
	      var charge = options.charge();
	      if ( elementTools.isLabel(element) ) {
	        charge *= 0.8;
	      }
	      return charge;
	    })
	      .size([options.width(), options.height()])
	      .linkDistance(calculateLinkPartDistance)
	      .gravity(options.gravity())
	      .linkStrength(options.linkStrength()); // Flexibility of links

	    force.nodes().forEach(function ( n ){
	      n.frozen(paused);
	    });
	  }
// Applies all options that don't change the graph data.
Applies all options that don't change the graph data.
Applies all options that don ' t change the graph data .
function refreshGraphStyle(){
	    zoom = zoom.scaleExtent([options.minMagnification(), options.maxMagnification()]);
	    if ( graphContainer ) {
	      zoom.event(graphContainer);
	    }
	    force.charge(function ( element ){
	      var charge = options.charge();
	      if ( elementTools.isLabel(element) ) {
	        charge *= 0.8;
	      }
	      return charge;
	    })
	      .size([options.width(), options.height()])
	      .linkDistance(calculateLinkPartDistance)
	      .gravity(options.gravity())
	      .linkStrength(options.linkStrength()); 
	    force.nodes().forEach(function ( n ){
	      n.frozen(paused);
	    });
	  }
function refreshGraphStyle ( ) { zoom = zoom . scaleExtent ( [ options . minMagnification ( ) , options . maxMagnification ( ) ] ) ; if ( graphContainer ) { zoom . event ( graphContainer ) ; } force . charge ( function ( element ) { var charge = options . charge ( ) ; if ( elementTools . isLabel ( element ) ) { charge *= 0.8 ; } return charge ; } ) . size ( [ options . width ( ) , options . height ( ) ] ) . linkDistance ( calculateLinkPartDistance ) . gravity ( options . gravity ( ) ) . linkStrength ( options . linkStrength ( ) ) ; force . nodes ( ) . forEach ( function ( n ) { n . frozen ( paused ) ; } ) ; }
Applies all options that don't change the graph data.
Applies all options that don ' t change the graph data .
// Flexibility of links