mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
build: Implement formatForIngestion
This commit is contained in:
@@ -21,7 +21,11 @@ import { GRAPH_FILE } from "../constants";
|
||||
*/
|
||||
async function buildGraph() {
|
||||
// Initialize a multi-graph (allows multiple edges between same nodes)
|
||||
const graph = new Graph({ multi: true, type: "directed", allowSelfLoops: false });
|
||||
const graph = new Graph({
|
||||
multi: true,
|
||||
type: "directed",
|
||||
allowSelfLoops: false,
|
||||
});
|
||||
|
||||
// Phase 1: Discover and parse specification HTML files
|
||||
const htmlFiles = await glob(path.join(SPEC_DIR, "*.html"));
|
||||
|
||||
Reference in New Issue
Block a user