Skip to content

NervaPack v0.7.5 — large-graph visualize fix

Choose a tag to compare

@ramdhavepreetam ramdhavepreetam released this 05 Aug 17:11
· 10 commits to master since this release

visualize now handles large graphs

Fixes visualize hanging on large knowledge graphs (e.g. a 21k-node / 400k-edge IBM i estate).

Fixed

  • Interactive force-directed physics never stabilises at that scale and pins the browser CPU indefinitely. visualize now:
    • Disables physics above ~2,000 nodes — renders a static layout instantly instead of simulating live.
    • Caps the view to the most-connected core (default top ~3,000 nodes / ~8,000 edges), keeping structurally important hubs (heavily-called programs, shared copybooks) and reporting how much of the total was shown.
  • The full graph is untouched in .nervapack/graph.graphml. Use nervapack explore <target> or nervapack query / MCP tools to navigate the whole graph at scale.

Internal

  • Test suite is now hermetic with respect to NERVAPACK_EBCDIC.

Upgrade

pip install -U nervapack   # 0.7.5

PyPI: https://pypi.org/project/nervapack/0.7.5/