mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-14 16:09:26 +00:00
Review follow-up on #4429:
- The merge-time sweep now skips nodes referenced by a hyperedge in
G.graph; degree 0 does not mean unreferenced for them, and sweeping one
left a dangling member that to_json writes verbatim.
- On the prune path a source-less non-code, non-stub node is removed only
when the prune itself isolated it (v8's post-rebind _isolated_before), so
semantic nodes stranded by re-extraction survive as before.
Co-Authored-By: Grok Bot <grokbot@users.noreply.github.com>
(cherry picked from commit 685f7f47bb)