orcasvn-react-diagrams 0.2.3 → 0.2.4
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/CHANGELOG.md +18 -0
- package/README.md +15 -11
- package/dist/cjs/examples.js +857 -139
- package/dist/cjs/index.js +408 -41
- package/dist/cjs/types/api/types.d.ts +9 -0
- package/dist/cjs/types/displaybox/demos/labelStyleDemo.d.ts +2 -0
- package/dist/cjs/types/displaybox/demos/portPositionLimitsDemo.d.ts +2 -0
- package/dist/cjs/types/engine/DiagramEngine.d.ts +6 -0
- package/dist/cjs/types/engine/LinkRoutingService.d.ts +1 -1
- package/dist/cjs/types/renderer/konva/KonvaNodeFactory.d.ts +11 -0
- package/dist/cjs/types/renderer/konva/KonvaRenderer.d.ts +2 -0
- package/dist/cjs/types/strategies/ObstacleRouter.d.ts +2 -0
- package/dist/esm/examples.js +857 -139
- package/dist/esm/examples.js.map +1 -1
- package/dist/esm/index.js +408 -41
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/api/types.d.ts +9 -0
- package/dist/esm/types/displaybox/demos/labelStyleDemo.d.ts +2 -0
- package/dist/esm/types/displaybox/demos/portPositionLimitsDemo.d.ts +2 -0
- package/dist/esm/types/engine/DiagramEngine.d.ts +6 -0
- package/dist/esm/types/engine/LinkRoutingService.d.ts +1 -1
- package/dist/esm/types/renderer/konva/KonvaNodeFactory.d.ts +11 -0
- package/dist/esm/types/renderer/konva/KonvaRenderer.d.ts +2 -0
- package/dist/esm/types/strategies/ObstacleRouter.d.ts +2 -0
- package/dist/examples.d.ts +9 -0
- package/dist/index.d.ts +10 -1
- package/package.json +11 -11
- package/src/displaybox/demos/ObstacleRoutingDemoTab.tsx +11 -10
- package/src/displaybox/demos/index.tsx +27 -13
- package/src/displaybox/demos/labelStyleDemo.ts +101 -0
- package/src/displaybox/demos/obstacleRoutingDemo.ts +212 -176
- package/src/displaybox/demos/portPositionLimitsDemo.ts +211 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.2.4] - 2026-05-06
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Directional parent-child attach mode support for hierarchy-aware linking flows.
|
|
9
|
+
- Port position-limit normalization coverage in DisplayBox demos for add/load/move entry points.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Unified child-port movement restrictions across all engine entry points (move, add, load, link-session creation, resize reprojection).
|
|
13
|
+
- Border-host port constraints now resolve deterministically when combined with `positionLimits`, while preserving border placement invariants.
|
|
14
|
+
- Routing stub behavior for sibling external links and parent-child links updated for consistent obstacle routing outcomes.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Manual link points now translate correctly when moving an element subtree.
|
|
18
|
+
- Multi-anchor nested routing demo behavior corrected for stable path previews.
|
|
19
|
+
|
|
20
|
+
### Docs
|
|
21
|
+
- Updated release highlights in `README.md` for `v0.2.4`.
|
|
22
|
+
|
|
5
23
|
## [0.2.3] - 2026-05-03
|
|
6
24
|
|
|
7
25
|
### Added
|
package/README.md
CHANGED
|
@@ -30,17 +30,21 @@ editor.addElement({
|
|
|
30
30
|
});
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
## Release Highlights (v0.2.
|
|
34
|
-
|
|
35
|
-
- Includes all completed `v0.2.1` and `v0.2.
|
|
36
|
-
- `v0.2.
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
- `v0.2.
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
33
|
+
## Release Highlights (v0.2.4)
|
|
34
|
+
|
|
35
|
+
- Includes all completed `v0.2.1`, `v0.2.2`, and `v0.2.3` work, plus `v0.2.4` updates.
|
|
36
|
+
- `v0.2.4` port-constraint and movement consistency updates:
|
|
37
|
+
- unified child-port restriction enforcement across move/add/load/link-session/resize entry points
|
|
38
|
+
- deterministic border-host constraint resolution when `positionLimits` are also active
|
|
39
|
+
- default invalid child-port positions now normalize consistently in add and load flows
|
|
40
|
+
- `v0.2.4` routing and hierarchy updates:
|
|
41
|
+
- directional parent-child attach mode support
|
|
42
|
+
- sibling external and parent-child stub routing rule refinements
|
|
43
|
+
- manual link points now translate with subtree moves
|
|
44
|
+
- `v0.2.4` demo coverage updates:
|
|
45
|
+
- expanded port-position limits scenarios including border + limits and default-position normalization
|
|
46
|
+
- refreshed parent/child internal-external anchor coverage
|
|
47
|
+
- corrected nested multi-anchor routing demonstration stability
|
|
44
48
|
- Shape system upgrade:
|
|
45
49
|
- class-based built-in shape behaviors
|
|
46
50
|
- runtime removal of `boundaryKind` branching
|