(node)
| 137464 | return Math.max(y, c.y); |
| 137465 | } |
| 137466 | function leafLeft(node) { |
| 137467 | var children; |
| 137468 | while(children = node.children)node = children[0]; |
| 137469 | return node; |
| 137470 | } |
| 137471 | function leafRight(node) { |
| 137472 | var children; |
| 137473 | while(children = node.children)node = children[children.length - 1]; |