@rotorsoft/act-diagram 1.0.3 → 1.0.5
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/dist/.tsbuildinfo +1 -1
- package/dist/cli/act.js +2 -2
- package/dist/cli/act.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -368,7 +368,7 @@ function build_model(result, files, expected_slices) {
|
|
|
368
368
|
}
|
|
369
369
|
for (const a of raw_acts) {
|
|
370
370
|
for (const st of a.states ?? []) {
|
|
371
|
-
if (
|
|
371
|
+
if (st?._tag !== "State" || state_by_ref.has(st)) continue;
|
|
372
372
|
try {
|
|
373
373
|
state_by_ref.set(st, build_state(model, st));
|
|
374
374
|
} catch (e) {
|
|
@@ -2354,7 +2354,7 @@ function Diagram({
|
|
|
2354
2354
|
title: "@rotorsoft/act-diagram version",
|
|
2355
2355
|
children: [
|
|
2356
2356
|
"v",
|
|
2357
|
-
"1.0.
|
|
2357
|
+
"1.0.4"
|
|
2358
2358
|
]
|
|
2359
2359
|
}
|
|
2360
2360
|
)
|