diff options
| author | nexxeln <[email protected]> | 2025-12-02 18:37:24 +0000 |
|---|---|---|
| committer | nexxeln <[email protected]> | 2025-12-02 18:37:24 +0000 |
| commit | dfb0c05ab33cb20537002eaeb896e6b2ab35af25 (patch) | |
| tree | 49ecaa46903671d96f2f9ebc5af688ab2ea2c7bd /packages/memory-graph/src/constants.ts | |
| parent | Fix: Update discord links in README.md and CONTRIBUTING.md (#598) (diff) | |
| download | supermemory-update-memory-graph.tar.xz supermemory-update-memory-graph.zip | |
add spaces selector with search (#600)update-memory-graph
relevant files to review:
\- memory-graph.tsx
\- spaces-dropdown.tsx
\- spaces-dropdown.css.ts
Diffstat (limited to 'packages/memory-graph/src/constants.ts')
| -rw-r--r-- | packages/memory-graph/src/constants.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/memory-graph/src/constants.ts b/packages/memory-graph/src/constants.ts index 23193601..fddfdee5 100644 --- a/packages/memory-graph/src/constants.ts +++ b/packages/memory-graph/src/constants.ts @@ -47,7 +47,7 @@ export const colors = { extends: "rgba(16, 185, 129, 0.5)", // green derives: "rgba(147, 197, 253, 0.5)", // blue }, -}; +} export const LAYOUT_CONSTANTS = { centerX: 400, @@ -57,7 +57,7 @@ export const LAYOUT_CONSTANTS = { documentSpacing: 1000, // How far the first doc in a space sits from its space-centre - push docs way out minDocDist: 900, // Minimum distance two documents in the **same space** are allowed to be - sets repulsion radius memoryClusterRadius: 300, -}; +} // Graph view settings export const GRAPH_SETTINGS = { @@ -71,7 +71,7 @@ export const GRAPH_SETTINGS = { initialPanX: 400, // Pan towards center to compensate for larger layout initialPanY: 300, // Pan towards center to compensate for larger layout }, -}; +} // Responsive positioning for different app variants export const POSITIONING = { @@ -97,4 +97,4 @@ export const POSITIONING = { viewToggle: "top-4 right-4", // Consumer has view toggle nodeDetail: "top-4 right-4", }, -}; +} |