Reorganize modules into layered directories

This commit is contained in:
Youzini-afk
2026-04-08 01:17:47 +08:00
parent 59942541ea
commit feec17f3e3
90 changed files with 284 additions and 219 deletions

View File

@@ -1,5 +1,5 @@
import assert from "node:assert/strict";
import { diffuseAndRank } from "../diffusion.js";
import { diffuseAndRank } from "../retrieval/diffusion.js";
import {
addEdge,
addNode,
@@ -8,7 +8,7 @@ import {
createEmptyGraph,
createNode,
invalidateEdge,
} from "../graph.js";
} from "../graph/graph.js";
const graph = createEmptyGraph();