This means that tnt doesn't use the official d3 lib.
This pull request is a bit old now, it has diverged from the master branch and it looks it won't be merged into the latest d3 code. It is better to use the official d3 lib and use panning/zooming limits in the tnt lib directly. Examples:
This is now done. Tnt is using again the official version of d3. Restricting panning and zooming is done with the solution suggested in the pr
mbostock/d3#1299
Right now, panning and zooming limits are based on this pull request: https://github.com/mbostock/d3/pull/1299
This means that tnt doesn't use the official d3 lib. This pull request is a bit old now, it has diverged from the master branch and it looks it won't be merged into the latest d3 code. It is better to use the official d3 lib and use panning/zooming limits in the tnt lib directly. Examples:
http://bl.ocks.org/garrilla/11280861 http://bl.ocks.org/shawnbot/6518285