Graph: Zoom one step further out #387

Closed
opened 2026-10-10 15:01:10 +02:00 by meleki · 1 comment
Owner

Fit stops zooming out at 0.25. A wide instrument graph like the Laser preset (about 3060 units since the Chip device in #386) can then be cut off on a smaller window.

Wish: one more zoom step out. The graph zooms smoothly, so its lower limit goes from 0.25 to 0.125, the first step of the scene view.

Fit stops zooming out at 0.25. A wide instrument graph like the Laser preset (about 3060 units since the Chip device in #386) can then be cut off on a smaller window. Wish: one more zoom step out. The graph zooms smoothly, so its lower limit goes from 0.25 to 0.125, the first step of the scene view.
Author
Owner

Erledigt mit ab37d34, Wiki 3f4d3b1.

Was gebaut ist

  • Kleinste Zoomstufe 0,125 statt 0,25 (ZOOM_LIMITS.min in src/editor/graph/graphView.ts). Der Graph zoomt stufenlos, „eine Stufe mehr“ heißt also: Die Untergrenze ist halbiert. 0,125 ist auch die kleinste Stufe der Szenenansicht.
  • Gilt für das Mausrad, für Fit und für das Node-Board der Plugins.
  • Das Raster blendet sich weiter unter 8 px Abstand von selbst aus und flimmert nicht.

Tests

Unit plugins + graph-framing → 55 grün (Anschlag-Test erwartet jetzt 0,125)
e2e 06 Graph (atx)           → ALL PASSED, 149 Checks
Gate (atx)                   → CHECK EXIT 0, 285 Dateien, 4377 Tests

Nicht geprüft:

  • das Laser-Preset bei 0,125 im Browser
  • CI-Lauf zu c75e72d (gemeinsam mit #388 gepusht, nicht abgewartet)
Erledigt mit ab37d34, Wiki 3f4d3b1. ## Was gebaut ist - **Kleinste Zoomstufe 0,125 statt 0,25** (`ZOOM_LIMITS.min` in `src/editor/graph/graphView.ts`). Der Graph zoomt stufenlos, „eine Stufe mehr“ heißt also: Die Untergrenze ist halbiert. 0,125 ist auch die kleinste Stufe der Szenenansicht. - Gilt für das Mausrad, für *Fit* und für das Node-Board der Plugins. - Das Raster blendet sich weiter unter 8 px Abstand von selbst aus und flimmert nicht. ## Tests ``` Unit plugins + graph-framing → 55 grün (Anschlag-Test erwartet jetzt 0,125) e2e 06 Graph (atx) → ALL PASSED, 149 Checks Gate (atx) → CHECK EXIT 0, 285 Dateien, 4377 Tests ``` **Nicht geprüft:** - das Laser-Preset bei 0,125 im Browser - CI-Lauf zu c75e72d (gemeinsam mit #388 gepusht, nicht abgewartet)
admin added this to the Development project 2026-10-10 16:47:14 +02:00
admin moved this to Next in Development on 2026-10-10 16:47:30 +02:00
admin moved this to Done in Development on 2026-10-10 16:47:44 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: meleki/feuerwerk#387