feat(experimental): add spatially accelerated GPU graph force layout - #2957
Open
ibgreen-openai wants to merge 14 commits into
Open
feat(experimental): add spatially accelerated GPU graph force layout#2957ibgreen-openai wants to merge 14 commits into
ibgreen-openai wants to merge 14 commits into
Conversation
ibgreen-openai
marked this pull request as ready for review
August 5, 2026 02:23
ibgreen-openai
force-pushed
the
codex/lugraph-interactive-explorer
branch
from
August 7, 2026 01:03
5c18358 to
8be314c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goals
Changes
LuGraphSpatialForceLayout, composing an existingLuGraphForceLayoutwith caller-owned grid offsets, stable IDs, float32 cell centers, accepted counts, overflow flags, bounds, opening threshold, and exact near-cell radius.theta: 0executes exact interactions across all cells.Verification
nvm use: passed; Node v22.22.1.yarn install: attempted but blocked by HTTP 403 for unpublished/uncached dev-tools dependencies. Used an isolated APFS copy-on-write clone of an existing compatible dependency tree; no dependency or lockfile changes.yarn lint fix: passed; 1,561 files checked.yarn build: passed after final formatting.yarn test: 975 Node tests passed, 1 skipped; 1,701 real-browser/WebGPU tests passed, 25 skipped.yarn website:build: passed.(cd website && yarn build): passed.yarn examples:typecheck: passed across 46 example workspaces.yarn bundle-size: all seven production bundle ceilings passed.Risks / follow-up
O(V × C + local pairs + E)plus one explicit index rebuild per iteration, with caller-ownedO(V + C)grid storage.