-
Notifications
You must be signed in to change notification settings - Fork 76
Feature/graph visualization clustering improvements #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jack-arturo
wants to merge
49
commits into
main
Choose a base branch
from
feature/graph-visualization-clustering-improvements
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
c6f2cad
feat(graph-viewer): add server URL config to TokenPrompt
jack-arturo 90c4df4
feat(api): add CORS support for graph viewer
jack-arturo 80ad799
feat: add embedded Graph Viewer with multi-stage Docker build
jack-arturo 3b0f1f7
fix: exempt /viewer/ routes from API authentication
jack-arturo f5f404c
fix: set Vite base path for embedded viewer assets
jack-arturo daf9a2b
feat: add hand gesture control for memory graph navigation
jack-arturo 66d90d8
feat(graph-viewer): add gesture debug overlay and pinch ray laser
jack-arturo b549ca9
feat(graph-viewer): add 2D hand overlay for life-size hand visualization
jack-arturo bfa8d9a
fix(graph-viewer): un-mirror hand and invert depth direction
jack-arturo 53a7b14
feat(graph-viewer): add hand smoothing, ghost effect, grip indicator,…
jack-arturo 9cc7a2f
feat(graph-viewer): add two-hand pinch manipulation for graph control
jack-arturo 9fbff2d
perf(graph-viewer): major performance optimizations for 500+ nodes
jack-arturo 268b2b2
fix(graph-viewer): start graph still, add version indicator
jack-arturo 8ecd2bf
feat(graph-viewer): add smooth gestures, center-biased lasers, and gh…
jack-arturo d7668a4
feat(graph-viewer): fix hand mirroring and move cloud instead of camera
jack-arturo 24708e0
feat(graph-viewer): single-hand pull/push and two-hand compound rotation
jack-arturo a575555
feat(graph-viewer): puffy white Mario-style gloves with inverted depth
jack-arturo 5db7829
feat(graph-viewer): Master Hand style volumetric hands
jack-arturo 9b5aea5
feat: Add hand interaction and laser pointer features
jack-arturo 204342c
feat: Add hand tracking server and improve gesture logic
jack-arturo e69e0af
feat: iPhone hand tracking with adaptive zoom + LiDAR depth
jack-arturo 803db30
feat: Add hand lock and grab gesture controls
jack-arturo aac5c81
feat(graph-viewer): enhance API proxy configuration and gesture controls
jack-arturo 2095869
feat(graph-viewer): improve hand tracking bridge status
jack-arturo 366005f
docs: add visualizer enhancement plan for Obsidian-style UI
claude f3487fb
Merge feat/visualizer into enhancement branch
claude c9aa6b5
feat(graph-viewer): add Obsidian-style settings panel
claude 2cb5b32
feat(graph-viewer): add relationship-styled edges and display controls
claude 1e2c541
feat(graph-viewer): add clustering with visual boundaries
claude 9214870
feat(graph-viewer): add selection focus mode with highlights
claude bfaa092
feat(graph-viewer): add keyboard navigation
claude 137e61c
fix: Add ws dependency and update Vite scripts
jack-arturo df4099f
fix: Add tracking source toggle and improve hand gesture cleanup
jack-arturo faec9cf
fix: Update iPhone hand tracking landmark mapping and debug logs
jack-arturo 445b4bb
fix: Improve hand gesture controls and add reset view
jack-arturo 5400d2f
feat: Add advanced UI features: bookmarks, lasso, pathfinding, tag cloud
jack-arturo d8db291
feat: Refactor hand cursor and force layout logic
jack-arturo 0c77a6b
fix: Remove advanced hand interaction and laser features
jack-arturo b3b62e5
feat: Improve hand tracking and gesture control UX
jack-arturo 604f629
feat: Add hand recording and playback for automated testing
jack-arturo 14a1ae9
feat: Add bimanual hand gesture controls and improve gesture UX
jack-arturo 3dffb49
feat: clustering and layout for graph visualization
jack-arturo 62bf2ab
feat: Add UMAP-based 3D projection for semantic graph layout
jack-arturo f6d53d4
feat: Add UMAP embedding projection for semantic graph layout
jack-arturo 92974b6
feat: Increase max nodes limit to 5000
jack-arturo b9e47ae
feat: Add VR support and improve graph layout seeding
jack-arturo 7d466a5
feat: Add VITE_API_TARGET env support for API base URL
jack-arturo 6233ebe
Merge branch 'main' into feature/graph-visualization-clustering-impro…
jack-arturo 98ce6f4
feat: Remove focus/spotlight mode UI and improve hand controls
jack-arturo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| [flake8] | ||
| max-line-length = 100 | ||
| select = E9,F63,F7,F82 | ||
| show_source = True | ||
| extend-exclude = | ||
| .venv, | ||
| venv, | ||
| node_modules, | ||
| packages/graph-viewer/node_modules, | ||
| packages/graph-viewer/dist, | ||
| packages/graph-viewer/.vite, | ||
| tests/benchmarks |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,41 @@ | ||
| # Dockerfile - Flask API runtime image | ||
| # Dockerfile - Flask API runtime image with optional Graph Viewer | ||
| # Multi-stage build: Node.js for frontend, Python for backend | ||
|
|
||
| # Stage 1: Build the Graph Viewer frontend | ||
| FROM node:20-slim AS frontend-builder | ||
|
|
||
| WORKDIR /build | ||
|
|
||
| # Copy package files and install dependencies | ||
| COPY packages/graph-viewer/package*.json ./ | ||
| RUN npm ci --silent | ||
|
|
||
| # Copy source and build | ||
| COPY packages/graph-viewer/ ./ | ||
| RUN npm run build | ||
|
|
||
| # Stage 2: Python runtime | ||
| FROM python:3.11-slim | ||
|
|
||
| ENV PYTHONDONTWRITEBYTECODE=1 \ | ||
| PYTHONUNBUFFERED=1 | ||
|
|
||
| WORKDIR /app | ||
|
|
||
| # Install system deps (none currently, but keep hook for Falkor client libs if needed) | ||
| # Install system deps | ||
| RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
| build-essential \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| COPY requirements.txt ./ | ||
| RUN pip install --no-cache-dir -r requirements.txt | ||
|
|
||
| # Copy the full application source into the image | ||
| # Copy the full application source | ||
| COPY . . | ||
|
|
||
| # Copy the built frontend from stage 1 | ||
| COPY --from=frontend-builder /build/dist/ ./automem/static/viewer/ | ||
|
|
||
| EXPOSE 8001 | ||
|
|
||
| CMD ["python", "app.py"] |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add
.vite/pattern to prevent committing Vite build cache.The three new patterns correctly exclude Graph Viewer build artifacts and dependencies. However, Vite's build cache directory (
.vite/) should also be ignored, as evidenced by the build artifacts inpackages/graph-viewer/.vite/deps/that were committed in this PR.🔎 Recommended addition
packages/graph-viewer/dist/ packages/graph-viewer/node_modules/ +packages/graph-viewer/.vite/ automem/static/viewer/Or more broadly to catch all Vite caches:
packages/graph-viewer/dist/ packages/graph-viewer/node_modules/ +**/.vite/ automem/static/viewer/📝 Committable suggestion
🤖 Prompt for AI Agents