DepGenerator: added option to show/hide external dependencies