Add an object to the graph.
(self, obj)
| 46 | self.update(it) |
| 47 | |
| 48 | def add_arc(self, obj): |
| 49 | """Add an object to the graph.""" |
| 50 | self.adjacent.setdefault(obj, []) |
| 51 | |
| 52 | def add_edge(self, A, B): |
| 53 | """Add an edge from object ``A`` to object ``B``. |
no test coverage detected