Allow edges to packages by default (TODO: command-line option.
[depgraph.git] / depgraph2dot.py
index f2b1205b6252a5378c8680b336a68ae89095505d..01d36c77d98e9939e07f5f632f08641d71d01373 100755 (executable)
@@ -113,10 +113,10 @@ class hooks (object) :
                 and self._invisible_path(dpath) == True :
             LOG.debug('invisible module path %s' % dpath)
             return False # don't draw edges to invisible path modules            
-        elif dtype == imp.PKG_DIRECTORY:
-            # don't draw edges to packages.
-            LOG.debug('package')
-            return False
+        #elif dtype == imp.PKG_DIRECTORY:
+        #    # don't draw edges to packages.
+        #    LOG.debug('package')
+        #    return False
         return True
     def _invisible_name(self, mod_name) :
         if mod_name in self._invisible_mods :