(self)
| 630 | return reverse_dict(self.dependencies) |
| 631 | |
| 632 | def copy(self) -> HighLevelGraph: |
| 633 | return HighLevelGraph( |
| 634 | ensure_dict(self.layers, copy=True), |
| 635 | ensure_dict(self.dependencies, copy=True), |
| 636 | self.key_dependencies.copy(), |
| 637 | ) |
| 638 | |
| 639 | @classmethod |
| 640 | def merge(cls, *graphs: Graph) -> HighLevelGraph: |