@edubeam/plot 0.3.1 → 0.3.2
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 +11 -0
- package/dist/core/scene.d.ts +5 -0
- package/dist/index.js +229 -216
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@edubeam/plot` are listed here. The project follows [Semantic Versioning](https://semver.org).
|
|
4
4
|
|
|
5
|
+
## 0.3.2 (2026-11-21)
|
|
6
|
+
|
|
7
|
+
## unreleased
|
|
8
|
+
|
|
9
|
+
- A member's name keeps off its loads' arrows: kept off one side at mid-span, by a point load or a distributed
|
|
10
|
+
load's arrows, it crosses to the other side of the member at the middle, clear of the dashed fibres there,
|
|
11
|
+
and is moved along the member only a few px, giving way rather than sliding off down it.
|
|
12
|
+
- A diagram's value keeps off a point load's arrow: a moment peaking under a point load has its value beside
|
|
13
|
+
the arrow, at its tip, not over it.
|
|
14
|
+
- A scene path's `keptOffBy` names the label groups that may not cover it, whatever else holds.
|
|
15
|
+
|
|
5
16
|
## 0.3.1 (2026-11-21)
|
|
6
17
|
|
|
7
18
|
- Every diagram has an undrawn `hitArea` path covering it, whatever its fill, tagged with its member, so an app
|
package/dist/core/scene.d.ts
CHANGED
|
@@ -81,6 +81,11 @@ export interface ScenePath extends SceneBase {
|
|
|
81
81
|
* diagram's outline, which its own numbers sit against.
|
|
82
82
|
*/
|
|
83
83
|
readonly shield?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Labels of these groups may not cover this line, wherever else they may go, diagrams crossed or
|
|
86
|
+
* not: a member's name keeps off its loads' arrows. Everything else may cover it.
|
|
87
|
+
*/
|
|
88
|
+
readonly keptOffBy?: readonly string[];
|
|
84
89
|
/** Drawn on from start to end when it appears; the number staggers members one after another. */
|
|
85
90
|
readonly draw?: number;
|
|
86
91
|
/**
|