Skip to content

Halve the zoom speed and step in Trajectory Viewer v2.#341

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_936840540
Open

Halve the zoom speed and step in Trajectory Viewer v2.#341
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_936840540

Conversation

@copybara-service

Copy link
Copy Markdown

Halve the zoom speed and step in Trajectory Viewer v2.

  • Zoom in/out speeds for mouse scroll wheels and trackpads in the v2 Angular-based Trajectory Viewer were too fast for comfortable navigation.
  • Extends the ZoomConfig in workflow_graph to optionally accept scrollStepPerDelta for trackpad scroll customization.
  • Halves the default zoom step from 0.05 to 0.025 and the trackpad scroll delta scale from 0.02 to 0.01 within the Trajectory Viewer configuration.
  • Wires up the new config to <ai-dag-renderer> in Trajectory Viewer v2's DAG component template.

- Zoom in/out speeds for mouse scroll wheels and trackpads in the v2 Angular-based Trajectory Viewer were too fast for comfortable navigation.
- Extends the `ZoomConfig` in `workflow_graph` to optionally accept `scrollStepPerDelta` for trackpad scroll customization.
- Halves the default zoom step from `0.05` to `0.025` and the trackpad scroll delta scale from `0.02` to `0.01` within the Trajectory Viewer configuration.
- Wires up the new config to `<ai-dag-renderer>` in Trajectory Viewer v2's DAG component template.

PiperOrigin-RevId: 936840540
@google-cla

google-cla Bot commented Jun 23, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants