(id, { priority = 4, degree = 0, left = 0, top = 0, width = 60, height = 12, sticky } = {})
| 11 | const labels = await importBundledModule(labelPath); |
| 12 | |
| 13 | function box(id, { priority = 4, degree = 0, left = 0, top = 0, width = 60, height = 12, sticky } = {}) { |
| 14 | return { id, priority, degree, left, top, right: left + width, bottom: top + height, sticky }; |
| 15 | } |
| 16 | |
| 17 | test("default view limits stay within the canvas budget", () => { |
| 18 | const { limit_nodes, limit_edges } = view.DEFAULT_VIEW_LIMITS; |