def rule_dot(self):
    graph = defaultdict(set)
    for job in self.jobs:
        graph[job.rule].update((dep.rule for dep in self.dependencies[job]))
    return self._dot(graph)
def rule_dot(self):
    graph = defaultdict(set)
    for job in self.jobs:
        graph[job.rule].update((dep.rule for dep in self.dependencies[job]))
    return self._dot(graph)