=== modified file 'includes/module.inc'
--- includes/module.inc	2009-07-10 04:58:08 +0000
+++ includes/module.inc	2009-07-21 21:11:46 +0000
@@ -99,7 +99,12 @@ function _module_build_dependencies($fil
     $graph[$file->name]['edges'] = array();
     if (isset($file->info['dependencies']) && is_array($file->info['dependencies'])) {
       foreach ($file->info['dependencies'] as $dependency_name) {
-        $graph[$file->name]['edges'][$dependency_name] = 1;
+        $value = array('version' => $file->info['version']);
+        if (preg_match('/^(?P<name>.*)\s+\((?P<operation>[<>=]=?)(?P<version>\d+\.\d+)\)\s*$/', $dependency_name, $matches)) {
+          $dependency_name = $matches['name'];
+          $value += array('operation' => $matches['operation'], 'version' => $matches['version']);
+        }
+        $graph[$file->name]['edges'][$dependency_name] = $value;
         unset($roots[$dependency_name]);
       }
     }

