Returns the node at (x,y) or None.
(self, x, y)
| 532 | n.draw(weighted) |
| 533 | |
| 534 | def node_at(self, x, y): |
| 535 | """ Returns the node at (x,y) or None. |
| 536 | """ |
| 537 | for n in self.nodes: |
| 538 | if n.contains(x, y): return n |
| 539 | |
| 540 | def _add_node_copy(self, n, **kwargs): |
| 541 | # Magical fairy dust to copy subclasses of Node. |