diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2026-06-03 15:20:45 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2026-06-03 15:20:45 -0600 |
| commit | 216a278102e3f63f155d76d62790a3ca60fcec02 (patch) | |
| tree | 57bf860d06bbb99a5c3ec17912e32278df7cb5e0 /main.py | |
| parent | 7b926faab3dcd52e45fc1b4b24f955a4dcf66959 (diff) | |
Replace grid-snap canvas with BSP-tree drag-to-split tiling
Dragging a tile to the edge (left/right/top/bottom) of another tile
splits that tile's space and inserts the dragged tile on that side.
Drop zones occupy the outer third of each tile edge; center has no zone.
Ghost overlay shows the split target during drag.
Data model: LayoutConfig.tree (BSP tree as nested dict). PaneSpec.row/col
removed. strip_chart uses tree_to_grid() → rowspan/colspan for pyqtgraph.
Backward compat: tree=None falls back to layout_mode stacking path.
Example: 3 stacked → drag Tile 3 to left of Tile 1 → Tile 3|Tile 1 on
top (side-by-side), Tile 2 spans full bottom.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'main.py')
0 files changed, 0 insertions, 0 deletions
