Metakit / @doeixd/metakit/graph

build

function · packages/metakit/src/graph/structure.ts:237

function build<
  const W extends string = string,
  const R extends string = string,
>(config: {
  readonly writers: ReadonlyArray<WriterNode<W>>
  readonly readers: ReadonlyArray<ReaderNode<R>>
  readonly links?: ReadonlyArray<RowToModelLink>
}): DependencyGraph<W, R>

Build the indexed DependencyGraph once from writers, readers, and optional row -> model bridge links.