diff --git a/glue/crumble/README.md b/glue/crumble/README.md index 1b402a6f8..f649a4ced 100644 --- a/glue/crumble/README.md +++ b/glue/crumble/README.md @@ -11,11 +11,13 @@ Crumble is not polished.** ## Index +- [Crumble](#crumble) + - [Index](#index) - [Accessing Crumble](#accessing-crumble) - [Using Crumble](#using-crumble) - - [Loading and Saving Circuits](#loading-saving) - - [Keyboard Controls](#keyboard-commands) - - [Mouse Controls](#mouse-commands) + - [Loading and Saving Circuits](#loading-and-saving-circuits) + - [Keyboard Controls](#keyboard-controls) + - [Mouse Controls](#mouse-controls) - [Building Crumble](#building-crumble) - [Testing Crumble](#testing-crumble) @@ -222,8 +224,15 @@ of the **two qubit variant** (c) of the **square root** (s) of the **Y gate** (y) (i.e. the gate `SQRT_YY_DAG 1 2`). +**Interaction** + +- `Arrow Keys (Up/Down/Left/Right)`: Pan the Planar Layout view +- `ctrl+0`: Reset View (reset both the planar view and the timeline scroll) +- `ctrl+-`: Zoom out +- `ctrl++` or `ctrl+=`: Zoom in + -### Mouse Controls +## Mouse Controls Note: to `BoxSelect` means to press down the left mouse button, drag the mouse while holding the button down to outline a rectangular region, and then release @@ -245,6 +254,12 @@ box selection action. The specific parity being used depends on context. For example, when selecting a column of qubits, the row parity is used. When selecting a 2d region, the subgrid parity is used. +- `shift+MMB` (Middle Mouse Button): + - Drag on the left (planar layout) to pan the planar layout view + - Drag on the right to scroll vertically through the wires +- `ctrl+MMB`: + - Drag vertically on the left (planar layout) to zoom in/out + # Building Crumble diff --git a/glue/crumble/crumble.html b/glue/crumble/crumble.html index 4dff02ecc..0192b72f4 100644 --- a/glue/crumble/crumble.html +++ b/glue/crumble/crumble.html @@ -227,6 +227,11 @@ +
+
+ +
+