mirror of
https://github.com/morluto/rea.git
synced 2026-10-28 02:15:44 +00:00
fix(javascript): preserve source facts across graph projections
This commit is contained in:
1 parent
dac544be20
commit
c8f8ec656c
14 files changed
+369
-60
No files matched your search
@@ -52,8 +52,12 @@ export const traceApplicationFeature = (
|
||||
const graph = traceGraph(input, seedMatches, traversal);
|
||||
const paths = terminalPaths(traversal, seedMatches);
|
||||
const nativeHandoffs = buildJavaScriptNativeHandoffs(
|
||||
traversal.nodes,
|
||||
traversal.edges,
|
||||
input.graph,
|
||||
new Set(
|
||||
traversal.nodes
|
||||
.filter(({ kind }) => kind === "native-addon")
|
||||
.map(({ node_id }) => node_id),
|
||||
),
|
||||
input.nativeEvidence,
|
||||
);
|
||||
const evidenceLinks = uniqueSorted([
|
||||
|
||||
Reference in new issue
Block a user