@rotorsoft/act-diagram 0.3.2 → 0.3.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/README.md +1 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/client/lib/layout.d.ts.map +1 -1
- package/dist/@types/client/lib/mock-builders.d.ts.map +1 -1
- package/dist/@types/client/types/domain-model.d.ts +0 -1
- package/dist/@types/client/types/domain-model.d.ts.map +1 -1
- package/dist/index.cjs +4 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -21
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@rotorsoft/act-diagram)
|
|
4
4
|
[](https://www.npmjs.com/package/@rotorsoft/act-diagram)
|
|
5
|
-
[](https://github.com/rotorsoft/act-root/actions/workflows/ci-cd.yml)
|
|
6
5
|
[](https://opensource.org/licenses/MIT)
|
|
7
6
|
|
|
8
7
|
Interactive domain model diagram for [@rotorsoft/act](https://www.npmjs.com/package/@rotorsoft/act) event-sourced apps. Extracts states, actions, events, reactions, slices, and projections from TypeScript source code and renders them as an interactive SVG.
|
|
@@ -165,7 +164,7 @@ type ActionNode = { name, emits: string[], invariants: string[], line? };
|
|
|
165
164
|
type EventNode = { name, hasCustomPatch: boolean, line? };
|
|
166
165
|
type SliceNode = { name, states: string[], stateVars: string[], projections: string[], reactions: ReactionNode[], error?, file?, line? };
|
|
167
166
|
type ProjectionNode = { name, varName, handles: string[], line? };
|
|
168
|
-
type ReactionNode = { event, handlerName, dispatches: string[],
|
|
167
|
+
type ReactionNode = { event, handlerName, dispatches: string[], line? };
|
|
169
168
|
|
|
170
169
|
// Layout types
|
|
171
170
|
type Box = { x, y, w, h, label, error? };
|