@ovalbee/flow-viewer 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,9 @@ Read-only Vue components for displaying OvalBee workflow graphs.
5
5
  ## Components
6
6
 
7
7
  - `FlowPreview` renders a lightweight SVG preview suitable for cards.
8
- - `FlowViewer` renders an interactive graph with pan, zoom, controls, and a minimap.
8
+ - `FlowViewer` renders an interactive graph with drag-to-pan, pinch/button zoom, controls, and a
9
+ minimap. Wheel panning is opt-in through `panOnScroll` so embedded viewers do not trap page
10
+ scrolling.
9
11
 
10
12
  Import the package styles once through the package entrypoint:
11
13
 
@@ -4,6 +4,7 @@ type __VLS_Props = {
4
4
  fitViewOnInit?: boolean;
5
5
  showControls?: boolean;
6
6
  showMiniMap?: boolean;
7
+ panOnScroll?: boolean;
7
8
  minZoom?: number;
8
9
  maxZoom?: number;
9
10
  initialZoom?: number;
@@ -13,6 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
13
14
  fitViewOnInit: boolean;
14
15
  showControls: boolean;
15
16
  showMiniMap: boolean;
17
+ panOnScroll: boolean;
16
18
  minZoom: number;
17
19
  maxZoom: number;
18
20
  initialZoom: number;