footprint-explainable-ui 0.12.0 → 0.13.0
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 +7 -0
- package/dist/flowchart.cjs +1 -1
- package/dist/flowchart.cjs.map +1 -1
- package/dist/flowchart.d.cts +1 -1
- package/dist/flowchart.d.ts +1 -1
- package/dist/flowchart.js +1 -1
- package/dist/flowchart.js.map +1 -1
- package/dist/index.cjs +188 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -20
- package/dist/index.d.ts +15 -20
- package/dist/index.js +213 -78
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# footprint-explainable-ui
|
|
2
2
|
|
|
3
|
+
<p>
|
|
4
|
+
<a href="https://www.npmjs.com/package/footprint-explainable-ui"><img src="https://img.shields.io/npm/v/footprint-explainable-ui.svg?style=flat" alt="npm version"></a>
|
|
5
|
+
<a href="https://github.com/footprintjs/explainable-ui/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License"></a>
|
|
6
|
+
<a href="https://footprintjs.github.io/footprint-demo/"><img src="https://img.shields.io/badge/Live_Demo-View_App-10b981?style=flat" alt="Live Demo"></a>
|
|
7
|
+
<a href="https://footprintjs.github.io/footprint-playground/"><img src="https://img.shields.io/badge/Playground-Try_it-6366f1?style=flat" alt="Playground"></a>
|
|
8
|
+
</p>
|
|
9
|
+
|
|
3
10
|
Themeable React components for visualizing [footprintjs](https://github.com/footprintjs/footPrint) pipeline execution — time-travel debugging, flowchart overlays, subflow drill-down, and collapsible detail panels.
|
|
4
11
|
|
|
5
12
|
## Install
|
package/dist/flowchart.cjs
CHANGED
|
@@ -724,7 +724,7 @@ function walkLayout(node, state, x, y) {
|
|
|
724
724
|
return { lastIds: [id], bottomY: y };
|
|
725
725
|
}
|
|
726
726
|
state.seen.add(id);
|
|
727
|
-
const isDecider = node.type === "decider" || !!node.hasDecider;
|
|
727
|
+
const isDecider = node.type === "decider" || node.type === "selector" || !!node.hasDecider || !!node.hasSelector;
|
|
728
728
|
const isFork = node.type === "fork";
|
|
729
729
|
state.nodes.push({
|
|
730
730
|
id,
|