@graphrefly/graphrefly 0.18.0 → 0.20.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/dist/{chunk-J7S54G7I.js → chunk-2L5J6RPM.js} +7 -2
- package/dist/chunk-2L5J6RPM.js.map +1 -0
- package/dist/{chunk-LB3RYLSC.js → chunk-3N2Y6PCR.js} +197 -42
- package/dist/chunk-3N2Y6PCR.js.map +1 -0
- package/dist/{chunk-KJGUP35I.js → chunk-5PSVTDNZ.js} +22 -9
- package/dist/chunk-5PSVTDNZ.js.map +1 -0
- package/dist/{chunk-76YPZQTW.js → chunk-BJAOEU4D.js} +34 -29
- package/dist/chunk-BJAOEU4D.js.map +1 -0
- package/dist/{chunk-UVWEKTYC.js → chunk-IAPLC4NR.js} +3 -3
- package/dist/{chunk-F6ORUNO7.js → chunk-OOA2UTXF.js} +58 -2
- package/dist/chunk-OOA2UTXF.js.map +1 -0
- package/dist/{chunk-TNKODJ6E.js → chunk-PGEU5MEH.js} +7 -3
- package/dist/{chunk-TNKODJ6E.js.map → chunk-PGEU5MEH.js.map} +1 -1
- package/dist/chunk-R2LPZIY2.js +111 -0
- package/dist/chunk-R2LPZIY2.js.map +1 -0
- package/dist/{chunk-BV3TPSBK.js → chunk-XYL3GLB3.js} +742 -757
- package/dist/chunk-XYL3GLB3.js.map +1 -0
- package/dist/compat/nestjs/index.cjs +967 -811
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +4 -4
- package/dist/compat/nestjs/index.d.ts +4 -4
- package/dist/compat/nestjs/index.js +7 -7
- package/dist/core/index.cjs +653 -666
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +7 -3
- package/dist/extra/index.cjs +728 -688
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +4 -4
- package/dist/extra/index.d.ts +4 -4
- package/dist/extra/index.js +9 -5
- package/dist/graph/index.cjs +836 -808
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +3 -3
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +8 -8
- package/dist/{graph-gISB9n3n.d.ts → graph-KsTe57nI.d.cts} +82 -8
- package/dist/{graph-BYFlyNpX.d.cts → graph-mILUUqW8.d.ts} +82 -8
- package/dist/{index-CgKPpiu8.d.ts → index-8a605sg9.d.ts} +2 -2
- package/dist/{index-DKaB2x0T.d.ts → index-B2SvPEbc.d.ts} +6 -65
- package/dist/{index-EmzYk-TG.d.cts → index-BHfg_Ez3.d.ts} +123 -77
- package/dist/{index-B80mMeuf.d.ts → index-Bc_diYYJ.d.cts} +123 -77
- package/dist/{index-B43mC7uY.d.cts → index-BjtlNirP.d.cts} +3 -3
- package/dist/{index-CEDaJaYE.d.ts → index-CgSiUouz.d.ts} +3 -3
- package/dist/{index-7WnwgjMu.d.ts → index-DuN3bhtm.d.ts} +82 -32
- package/dist/{index-D_tUMcpz.d.cts → index-SFzE_KTa.d.cts} +82 -32
- package/dist/{index-Ci_vPaVm.d.cts → index-UudxGnzc.d.cts} +6 -65
- package/dist/{index-BqOWSFhr.d.cts → index-VHA43cGP.d.cts} +2 -2
- package/dist/index.cjs +5936 -5522
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +644 -379
- package/dist/index.d.ts +644 -379
- package/dist/index.js +4388 -4058
- package/dist/index.js.map +1 -1
- package/dist/{meta-npl5b97j.d.cts → meta-BnG7XAaE.d.cts} +394 -236
- package/dist/{meta-npl5b97j.d.ts → meta-BnG7XAaE.d.ts} +394 -236
- package/dist/{observable-DFBCBELR.d.cts → observable-C8Kx_O6k.d.cts} +1 -1
- package/dist/{observable-oAGygKvc.d.ts → observable-DcBwQY7t.d.ts} +1 -1
- package/dist/patterns/reactive-layout/index.cjs +865 -718
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +3 -3
- package/dist/patterns/reactive-layout/index.d.ts +3 -3
- package/dist/patterns/reactive-layout/index.js +4 -4
- package/package.json +2 -2
- package/dist/chunk-76YPZQTW.js.map +0 -1
- package/dist/chunk-BV3TPSBK.js.map +0 -1
- package/dist/chunk-F6ORUNO7.js.map +0 -1
- package/dist/chunk-FCLROC4Q.js +0 -231
- package/dist/chunk-FCLROC4Q.js.map +0 -1
- package/dist/chunk-J7S54G7I.js.map +0 -1
- package/dist/chunk-KJGUP35I.js.map +0 -1
- package/dist/chunk-LB3RYLSC.js.map +0 -1
- /package/dist/{chunk-UVWEKTYC.js.map → chunk-IAPLC4NR.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as GraphPersistSnapshot, A as AutoCheckpointAdapter, D as DescribeFilter, f as GRAPH_META_SEGMENT, G as Graph, g as GraphActorOptions, b as GraphAutoCheckpointHandle, c as GraphAutoCheckpointOptions, h as GraphCheckpointRecord, i as GraphDescribeOptions, j as GraphDescribeOutput, k as GraphDiagramDirection, l as GraphDiagramOptions, m as GraphDiffChange, n as GraphDiffResult, o as GraphDumpOptions, p as GraphFactoryContext, q as GraphNodeFactory, r as GraphObserveAll, s as GraphObserveOne, a as GraphOptions, e as GraphProfileOptions, d as GraphProfileResult, N as NodeProfile, O as ObserveDetail, u as ObserveEvent, v as ObserveOptions, w as ObserveResult, x as ObserveTheme, y as ObserveThemeName, R as ReachableDirection, z as ReachableOptions, T as TraceEntry, B as graphProfile, C as reachable } from './graph-KsTe57nI.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* GraphCodec — pluggable serialization for graph snapshots (Phase 8.6).
|
|
@@ -178,65 +178,6 @@ declare function negotiateCodec(localPreference: readonly GraphCodec[], remoteCo
|
|
|
178
178
|
*/
|
|
179
179
|
declare function replayWAL(entries: readonly WALEntry[]): GraphPersistSnapshot;
|
|
180
180
|
|
|
181
|
-
/**
|
|
182
|
-
* Graph profiling and inspection utilities.
|
|
183
|
-
*
|
|
184
|
-
* Provides per-node memory estimation, connectivity stats, and hotspot
|
|
185
|
-
* detection. Non-invasive — reads from `describe()` and node internals
|
|
186
|
-
* without modifying state.
|
|
187
|
-
*
|
|
188
|
-
* @module
|
|
189
|
-
*/
|
|
190
|
-
|
|
191
|
-
/** Per-node profile entry. */
|
|
192
|
-
interface NodeProfile {
|
|
193
|
-
/** Qualified path within the graph. */
|
|
194
|
-
path: string;
|
|
195
|
-
/** Node type (state, derived, producer, effect). */
|
|
196
|
-
type: string;
|
|
197
|
-
/** Node status (disconnected, dirty, settled, errored, completed). */
|
|
198
|
-
status: string;
|
|
199
|
-
/** Approximate retained bytes for the node's cached value. */
|
|
200
|
-
valueSizeBytes: number;
|
|
201
|
-
/** Number of downstream subscribers (sinks). */
|
|
202
|
-
subscriberCount: number;
|
|
203
|
-
/** Number of upstream dependencies. */
|
|
204
|
-
depCount: number;
|
|
205
|
-
}
|
|
206
|
-
/** Aggregate graph profile. */
|
|
207
|
-
interface GraphProfileResult {
|
|
208
|
-
/** Total node count. */
|
|
209
|
-
nodeCount: number;
|
|
210
|
-
/** Total edge count. */
|
|
211
|
-
edgeCount: number;
|
|
212
|
-
/** Subgraph count. */
|
|
213
|
-
subgraphCount: number;
|
|
214
|
-
/** All node profiles. */
|
|
215
|
-
nodes: NodeProfile[];
|
|
216
|
-
/** Total approximate value memory across all nodes. */
|
|
217
|
-
totalValueSizeBytes: number;
|
|
218
|
-
/** Nodes sorted by valueSizeBytes descending (top N). */
|
|
219
|
-
hotspots: NodeProfile[];
|
|
220
|
-
}
|
|
221
|
-
/** Options for {@link graphProfile}. */
|
|
222
|
-
interface GraphProfileOptions {
|
|
223
|
-
/** Limit hotspot list (default 10). */
|
|
224
|
-
topN?: number;
|
|
225
|
-
/** Include subgraph nodes recursively (default true). */
|
|
226
|
-
recursive?: boolean;
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* Profile a graph's memory and connectivity characteristics.
|
|
230
|
-
*
|
|
231
|
-
* Uses `describe({ detail: "standard" })` for node metadata and direct
|
|
232
|
-
* `NodeImpl` access for subscriber counts and cached values.
|
|
233
|
-
*
|
|
234
|
-
* @param graph - The graph to profile.
|
|
235
|
-
* @param opts - Optional configuration.
|
|
236
|
-
* @returns Aggregate profile with per-node details and hotspots.
|
|
237
|
-
*/
|
|
238
|
-
declare function graphProfile(graph: Graph, opts?: GraphProfileOptions): GraphProfileResult;
|
|
239
|
-
|
|
240
181
|
/**
|
|
241
182
|
* Approximate in-memory size estimation for arbitrary JS values.
|
|
242
183
|
*
|
|
@@ -287,11 +228,11 @@ declare const index_GraphObserveAll: typeof GraphObserveAll;
|
|
|
287
228
|
declare const index_GraphObserveOne: typeof GraphObserveOne;
|
|
288
229
|
declare const index_GraphOptions: typeof GraphOptions;
|
|
289
230
|
declare const index_GraphPersistSnapshot: typeof GraphPersistSnapshot;
|
|
290
|
-
|
|
291
|
-
|
|
231
|
+
declare const index_GraphProfileOptions: typeof GraphProfileOptions;
|
|
232
|
+
declare const index_GraphProfileResult: typeof GraphProfileResult;
|
|
292
233
|
declare const index_JsonCodec: typeof JsonCodec;
|
|
293
234
|
type index_LazyGraphCodec = LazyGraphCodec;
|
|
294
|
-
|
|
235
|
+
declare const index_NodeProfile: typeof NodeProfile;
|
|
295
236
|
declare const index_ObserveDetail: typeof ObserveDetail;
|
|
296
237
|
declare const index_ObserveEvent: typeof ObserveEvent;
|
|
297
238
|
declare const index_ObserveOptions: typeof ObserveOptions;
|
|
@@ -310,7 +251,7 @@ declare const index_reachable: typeof reachable;
|
|
|
310
251
|
declare const index_replayWAL: typeof replayWAL;
|
|
311
252
|
declare const index_sizeof: typeof sizeof;
|
|
312
253
|
declare namespace index {
|
|
313
|
-
export { index_AutoCheckpointAdapter as AutoCheckpointAdapter, type index_DeltaCheckpoint as DeltaCheckpoint, index_DescribeFilter as DescribeFilter, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAutoCheckpointHandle as GraphAutoCheckpointHandle, index_GraphAutoCheckpointOptions as GraphAutoCheckpointOptions, index_GraphCheckpointRecord as GraphCheckpointRecord, type index_GraphCodec as GraphCodec, index_GraphDescribeOptions as GraphDescribeOptions, index_GraphDescribeOutput as GraphDescribeOutput, index_GraphDiagramDirection as GraphDiagramDirection, index_GraphDiagramOptions as GraphDiagramOptions, index_GraphDiffChange as GraphDiffChange, index_GraphDiffResult as GraphDiffResult, index_GraphDumpOptions as GraphDumpOptions, index_GraphFactoryContext as GraphFactoryContext, index_GraphNodeFactory as GraphNodeFactory, index_GraphObserveAll as GraphObserveAll, index_GraphObserveOne as GraphObserveOne, index_GraphOptions as GraphOptions, index_GraphPersistSnapshot as GraphPersistSnapshot,
|
|
254
|
+
export { index_AutoCheckpointAdapter as AutoCheckpointAdapter, type index_DeltaCheckpoint as DeltaCheckpoint, index_DescribeFilter as DescribeFilter, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAutoCheckpointHandle as GraphAutoCheckpointHandle, index_GraphAutoCheckpointOptions as GraphAutoCheckpointOptions, index_GraphCheckpointRecord as GraphCheckpointRecord, type index_GraphCodec as GraphCodec, index_GraphDescribeOptions as GraphDescribeOptions, index_GraphDescribeOutput as GraphDescribeOutput, index_GraphDiagramDirection as GraphDiagramDirection, index_GraphDiagramOptions as GraphDiagramOptions, index_GraphDiffChange as GraphDiffChange, index_GraphDiffResult as GraphDiffResult, index_GraphDumpOptions as GraphDumpOptions, index_GraphFactoryContext as GraphFactoryContext, index_GraphNodeFactory as GraphNodeFactory, index_GraphObserveAll as GraphObserveAll, index_GraphObserveOne as GraphObserveOne, index_GraphOptions as GraphOptions, index_GraphPersistSnapshot as GraphPersistSnapshot, index_GraphProfileOptions as GraphProfileOptions, index_GraphProfileResult as GraphProfileResult, index_JsonCodec as JsonCodec, type index_LazyGraphCodec as LazyGraphCodec, index_NodeProfile as NodeProfile, index_ObserveDetail as ObserveDetail, index_ObserveEvent as ObserveEvent, index_ObserveOptions as ObserveOptions, index_ObserveResult as ObserveResult, index_ObserveTheme as ObserveTheme, index_ObserveThemeName as ObserveThemeName, index_ReachableDirection as ReachableDirection, index_ReachableOptions as ReachableOptions, index_TraceEntry as TraceEntry, type index_WALEntry as WALEntry, index_createDagCborCodec as createDagCborCodec, index_createDagCborZstdCodec as createDagCborZstdCodec, index_graphProfile as graphProfile, index_negotiateCodec as negotiateCodec, index_reachable as reachable, index_replayWAL as replayWAL, index_sizeof as sizeof };
|
|
314
255
|
}
|
|
315
256
|
|
|
316
|
-
export { type DeltaCheckpoint as D, type EvictedSubgraphInfo as E, type
|
|
257
|
+
export { type DeltaCheckpoint as D, type EvictedSubgraphInfo as E, type GraphCodec as G, JsonCodec as J, type LazyGraphCodec as L, type WALEntry as W, type EvictionPolicy as a, createDagCborZstdCodec as b, createDagCborCodec as c, index as i, negotiateCodec as n, replayWAL as r, sizeof as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as Node } from './meta-
|
|
2
|
-
import { G as Graph } from './graph-
|
|
1
|
+
import { N as Node } from './meta-BnG7XAaE.cjs';
|
|
2
|
+
import { G as Graph } from './graph-KsTe57nI.cjs';
|
|
3
3
|
|
|
4
4
|
/** Pluggable measurement backend. */
|
|
5
5
|
interface MeasurementAdapter {
|