@pyreon/flow 0.11.5 → 0.11.6
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 +10 -10
- package/lib/index.js.map +1 -1
- package/lib/types/index.d.ts +13 -13
- package/package.json +16 -16
- package/src/components/background.tsx +8 -8
- package/src/components/controls.tsx +9 -9
- package/src/components/flow-component.tsx +46 -46
- package/src/components/handle.tsx +8 -8
- package/src/components/minimap.tsx +5 -5
- package/src/components/node-resizer.tsx +25 -25
- package/src/components/node-toolbar.tsx +12 -12
- package/src/components/panel.tsx +9 -9
- package/src/edges.ts +6 -6
- package/src/flow.ts +11 -11
- package/src/index.ts +17 -17
- package/src/layout.ts +23 -23
- package/src/tests/flow-advanced.test.ts +190 -190
- package/src/tests/flow.test.ts +417 -417
- package/src/types.ts +24 -24
package/README.md
CHANGED
|
@@ -52,16 +52,16 @@ Create a reactive flow instance with signal-based state.
|
|
|
52
52
|
|
|
53
53
|
### Components
|
|
54
54
|
|
|
55
|
-
| Component
|
|
56
|
-
|
|
|
57
|
-
| `<Flow>`
|
|
58
|
-
| `<Background>`
|
|
59
|
-
| `<MiniMap>`
|
|
60
|
-
| `<Controls>`
|
|
61
|
-
| `<Handle>`
|
|
62
|
-
| `<Panel>`
|
|
63
|
-
| `<NodeResizer>` | Resize handle for nodes
|
|
64
|
-
| `<NodeToolbar>` | Toolbar attached to a node
|
|
55
|
+
| Component | Description |
|
|
56
|
+
| --------------- | ---------------------------------------------------------------- |
|
|
57
|
+
| `<Flow>` | Main container with pan/zoom via pointer events + CSS transforms |
|
|
58
|
+
| `<Background>` | Dot or line grid background |
|
|
59
|
+
| `<MiniMap>` | Overview minimap |
|
|
60
|
+
| `<Controls>` | Zoom/fit buttons |
|
|
61
|
+
| `<Handle>` | Connection handle on nodes |
|
|
62
|
+
| `<Panel>` | Overlay panel positioned relative to the flow |
|
|
63
|
+
| `<NodeResizer>` | Resize handle for nodes |
|
|
64
|
+
| `<NodeToolbar>` | Toolbar attached to a node |
|
|
65
65
|
|
|
66
66
|
### Edge Paths
|
|
67
67
|
|