Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion graphify/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,10 @@ def build_merge(
dedup_llm_backend: str | None = None,
root: str | Path | None = None,
) -> nx.Graph:
"""Load existing graph.json, merge new chunks into it, and save back.
"""Merge new chunks with an existing graph.json, when present.

Returns the merged graph without writing it to ``graph_path``. The caller
is responsible for persistence.

Re-extracted files REPLACE their prior contribution per tier (#2333/#2336):
a source_file present in new_chunks has its existing nodes/edges dropped
Expand Down
Loading