core/factories/graph.factory.ts

core/factories/graph.factory.ts is a file in Bane's Lab Build Scripts. 9 lines of code and 1 definition.

import type { GraphNode } from "@banes-lab/web/types/graph.types.js";

export const graphNode = function graphNode(
    ref: string,
    kind: string,
    layer: GraphNode["layer"],
    title: string,
): GraphNode {
    return { address: null, citation: null, fields: {}, href: null, kind, layer, number: null, ref, title };
};