Insert ``x`` after this node in the list of nodes in the graph. Equivalent to ``self.next.prepend(x)`` Args: x (Node): The node to put after this node. Must be a member of the same graph.
(self, x: 'Node')
| 278 | |
| 279 | @compatibility(is_backward_compatible=True) |
| 280 | def append(self, x: 'Node') -> None: |
| 281 | """ |
| 282 | Insert ``x`` after this node in the list of nodes in the graph. |
| 283 | Equivalent to ``self.next.prepend(x)`` |
| 284 | |
| 285 | Args: |
| 286 | x (Node): The node to put after this node. Must be a member of the same graph. |
| 287 | """ |
| 288 | self._next.prepend(x) |
| 289 | |
| 290 | def _remove_from_list(self): |
| 291 | p, n = self._prev, self._next |