Return generator that yields for all edges in the graph.
(self)
| 102 | self.add_edge(obj, dep) |
| 103 | |
| 104 | def edges(self): |
| 105 | """Return generator that yields for all edges in the graph.""" |
| 106 | return (obj for obj, adj in self.items() if adj) |
| 107 | |
| 108 | def _khan62(self): |
| 109 | """Perform Khan's simple topological sort algorithm from '62. |