Open nylen opened 9 years ago
Something like this maybe:
$(window).on('resize', function() { var graphWidth, graphHeight; // compute graphWidth, graphHeight graph.force.size([graphWidth, graphHeight]); graph.force.start(); });
Something like this maybe: