@tangle-network/charts 2.0.13 → 2.0.14
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 +2 -0
- package/dist/AgentGraphCanvas-B74GN1o6.js +1184 -0
- package/dist/elk-loader-CrLO557o.d.ts +268 -0
- package/dist/flow-trace-DRluIYw8.js +10 -0
- package/dist/flow-waterfall-model-DvrgPLGS.js +4747 -0
- package/dist/graph-style-fealnLLn.js +356 -0
- package/dist/index.js +2 -1
- package/dist/latest-events-iiWwpIck.js +491 -0
- package/dist/motion-DILryczn.js +7 -0
- package/dist/react/agent-graph/index.d.ts +157 -0
- package/dist/react/agent-graph/index.js +1191 -0
- package/dist/react/agent-graph/presentation.d.ts +8 -0
- package/dist/react/agent-graph/presentation.js +3 -0
- package/dist/react/agent-graph.css +1800 -0
- package/dist/react/index.js +8 -4742
- package/dist/{flow-trace-k097Ukvs.js → timeline-B7c-cede.js} +1 -10
- package/package.json +37 -7
|
@@ -1198,13 +1198,4 @@ function axisTicks(t0, t1, px, left, right, label) {
|
|
|
1198
1198
|
return fit([t0, t1]) ? [t0, t1] : [t0];
|
|
1199
1199
|
}
|
|
1200
1200
|
//#endregion
|
|
1201
|
-
|
|
1202
|
-
/** Internal quantity boundaries shared by construction, aggregation and presentation. */
|
|
1203
|
-
const finiteNumber = (value) => typeof value === "number" && Number.isFinite(value) ? value : void 0;
|
|
1204
|
-
const reportedCount = (value) => typeof value === "number" && Number.isSafeInteger(value) && value >= 0 ? value : void 0;
|
|
1205
|
-
function sumReportedCounts(values) {
|
|
1206
|
-
if (!values.length || values.some((value) => reportedCount(value) === void 0)) return void 0;
|
|
1207
|
-
return reportedCount(values.reduce((sum, value) => sum + value, 0));
|
|
1208
|
-
}
|
|
1209
|
-
//#endregion
|
|
1210
|
-
export { rect as $, intervalGap as A, tierSummary as B, isRefusal as C, drawable as D, costText as E, pts as F, MARKER_SHAPES as G, usd as H, rateDataGap as I, hatchPath as J, circle as K, rateIntervalGap as L, kn as M, pct as N, duration as O, perPass as P, polyline as Q, rateOrder as R, markName as S, TIERS_BEST_FIRST as T, usdTick as U, tierTotal as V, table as W, line as X, hbar as Y, markerPath as Z, drawMarks as _, CHECKER_HUES as a, esc as at, groupRowHeight as b, OUTCOME_COLORS as c, plural as ct, checkerColor as d, wrap as dt, svgRoot as et, EVENTS_READ as f, drawGroups as g, drawBands as h, timeline as i, capitalize as it, intervalName as j, estimateNote as k, OUTCOME_ORDER as l, textBlock as lt, MARK_VERDICTS as m, reportedCount as n, titled as nt, ENDING_COLORS as o, fitLines as ot, MARK_HEADS as p, hatch as q, sumReportedCounts as r, wideWidth as rt, ENDING_ORDER as s, listJoin as st, finiteNumber as t, text as tt, checkerClass as u, textWidth as ut, eventsGap as v, METHOD_NAME as w, markLabelRows as x, eventsTable as y, tierAtLeast as z };
|
|
1201
|
+
export { titled as $, pct as A, usdTick as B, costText as C, intervalGap as D, estimateNote as E, rateOrder as F, hatchPath as G, MARKER_SHAPES as H, tierAtLeast as I, markerPath as J, hbar as K, tierSummary as L, pts as M, rateDataGap as N, intervalName as O, rateIntervalGap as P, text as Q, tierTotal as R, TIERS_BEST_FIRST as S, duration as T, circle as U, table as V, hatch as W, rect as X, polyline as Y, svgRoot as Z, groupRowHeight as _, OUTCOME_COLORS as a, plural as at, isRefusal as b, checkerColor as c, wrap as ct, MARK_VERDICTS as d, wideWidth as et, drawBands as f, eventsTable as g, eventsGap as h, ENDING_ORDER as i, listJoin as it, perPass as j, kn as k, EVENTS_READ as l, drawMarks as m, CHECKER_HUES as n, esc as nt, OUTCOME_ORDER as o, textBlock as ot, drawGroups as p, line as q, ENDING_COLORS as r, fitLines as rt, checkerClass as s, textWidth as st, timeline as t, capitalize as tt, MARK_HEADS as u, markLabelRows as v, drawable as w, METHOD_NAME as x, markName as y, usd as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/charts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "Static SVG and HTML figures for benchmarks and operational timing. Draws from producer data and refuses what it cannot draw honestly.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"sideEffects": [
|
|
16
16
|
"./dist/figure.css",
|
|
17
17
|
"./dist/react/live.css",
|
|
18
|
-
"./dist/react/flow-waterfall.css"
|
|
18
|
+
"./dist/react/flow-waterfall.css",
|
|
19
|
+
"./dist/react/agent-graph.css"
|
|
19
20
|
],
|
|
20
21
|
"files": [
|
|
21
22
|
"dist",
|
|
@@ -34,19 +35,42 @@
|
|
|
34
35
|
"import": "./dist/react/index.js",
|
|
35
36
|
"default": "./dist/react/index.js"
|
|
36
37
|
},
|
|
37
|
-
"./react/flow-waterfall.css": "./dist/react/flow-waterfall.css"
|
|
38
|
+
"./react/flow-waterfall.css": "./dist/react/flow-waterfall.css",
|
|
39
|
+
"./react/agent-graph.css": "./dist/react/agent-graph.css",
|
|
40
|
+
"./react/agent-graph": {
|
|
41
|
+
"types": "./dist/react/agent-graph/index.d.ts",
|
|
42
|
+
"import": "./dist/react/agent-graph/index.js",
|
|
43
|
+
"default": "./dist/react/agent-graph/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./react/agent-graph/presentation": {
|
|
46
|
+
"types": "./dist/react/agent-graph/presentation.d.ts",
|
|
47
|
+
"import": "./dist/react/agent-graph/presentation.js",
|
|
48
|
+
"default": "./dist/react/agent-graph/presentation.js"
|
|
49
|
+
}
|
|
38
50
|
},
|
|
39
51
|
"peerDependencies": {
|
|
40
|
-
"react": "^18.0.0 || ^19.0.0"
|
|
52
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
53
|
+
"elkjs": "^0.12.0",
|
|
54
|
+
"@xyflow/react": "^12.0.0",
|
|
55
|
+
"react-dom": "^18 || ^19"
|
|
41
56
|
},
|
|
42
57
|
"peerDependenciesMeta": {
|
|
43
58
|
"react": {
|
|
44
59
|
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"elkjs": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"@xyflow/react": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"react-dom": {
|
|
68
|
+
"optional": true
|
|
45
69
|
}
|
|
46
70
|
},
|
|
47
71
|
"scripts": {
|
|
48
72
|
"gen:css": "node scripts/gen-css.mjs",
|
|
49
|
-
"build": "node scripts/check-run-tokens.mjs && node scripts/gen-css.mjs --check && tsdown && cp src/figure.css dist/figure.css && cp src/react/live.css dist/react/live.css && cp src/react/flow-waterfall.css dist/react/flow-waterfall.css",
|
|
73
|
+
"build": "node scripts/check-run-tokens.mjs && node scripts/gen-css.mjs --check && tsdown && cp src/figure.css dist/figure.css && cp src/react/live.css dist/react/live.css && cp src/react/flow-waterfall.css dist/react/flow-waterfall.css && node scripts/build-agent-graph-css.mjs",
|
|
50
74
|
"typecheck": "tsc --noEmit",
|
|
51
75
|
"test": "vitest run",
|
|
52
76
|
"check:run-tokens": "node scripts/check-run-tokens.mjs"
|
|
@@ -62,11 +86,17 @@
|
|
|
62
86
|
"jsdom": "^30.1.1",
|
|
63
87
|
"playwright": "^1.63.0",
|
|
64
88
|
"react": "^19.3.0",
|
|
65
|
-
"react-dom": "^19.3.
|
|
89
|
+
"react-dom": "^19.3.1",
|
|
66
90
|
"tsdown": "^0.23.0",
|
|
67
91
|
"typescript": "^7.0.2",
|
|
68
92
|
"vitest": "^5.0.2",
|
|
69
|
-
"@tangle-network/ui": "^11.51.1"
|
|
93
|
+
"@tangle-network/ui": "^11.51.1",
|
|
94
|
+
"elkjs": "0.12.0",
|
|
95
|
+
"@xyflow/react": "^12.12.0",
|
|
96
|
+
"postcss": "^8.5.31",
|
|
97
|
+
"tailwindcss": "^4.3.3",
|
|
98
|
+
"@tailwindcss/postcss": "^4.3.3",
|
|
99
|
+
"lucide-react": "^1.61.0"
|
|
70
100
|
},
|
|
71
101
|
"keywords": [
|
|
72
102
|
"tangle",
|