Add nodes from another graph.
(self, graph)
| 57 | self[A].append(B) |
| 58 | |
| 59 | def connect(self, graph): |
| 60 | """Add nodes from another graph.""" |
| 61 | self.adjacent.update(graph.adjacent) |
| 62 | |
| 63 | def topsort(self): |
| 64 | """Sort the graph topologically. |
no test coverage detected