Commit graph

97 commits

Author SHA1 Message Date
yangdx
4cbd876126 feat: Update node color and legent after entity_type changed
- Move color constants to utils module
- Extract resolveNodeColor function
- Update node colors on type changes
- Simplify hook color logic
2025-10-31 00:03:55 +08:00
yangdx
181525ffc2 Merge branch 'main' into zl7261/main 2025-10-02 22:01:16 +08:00
yangdx
19a4158419 Fix linting 2025-10-02 22:01:00 +08:00
yangdx
b1a4e7d7f0 Fix linting 2025-10-02 21:21:33 +08:00
Roman Marchuk
1bd84f0005
Merge branch 'main' into fix/dark-mode-graph-text-colors 2025-10-01 17:41:28 -04:00
Roman Marchuk
7297ca1d5c Fix dark mode graph labels for system theme and improve colors
- Fix dark mode detection to work when theme is set to 'system'
- Add real-time system theme change detection
- Update label colors from cyan to white for better readability
- Update edge colors to medium gray (#888888) for better contrast
- Add development feature: random graph generator button in settings
- Enhance random graph with edge attributes and labels
- Install missing graphology layout dependencies
2025-10-01 17:36:50 -04:00
zl7261
ffcd75a408
decalre targetNode after check sourceNode 2025-09-29 15:24:35 +08:00
zl7261
6a8de2edb2
web_ui: check node source and target 2025-09-29 15:22:24 +08:00
yangdx
b5ebfa0cb8 Add entity type synonyms for legal, medical, and natural domains 2025-09-23 23:33:29 +08:00
yangdx
bdb29b0497 Expand entity type synonyms for better graph node categorization 2025-09-23 23:16:17 +08:00
yangdx
be1216770e Fix linting 2025-09-23 22:31:15 +08:00
yangdx
9dd1790b5c Add "Creature" entity type and reorganize type mappings
- Add Creature to default entity types
- Map animals/beings to creature type
2025-09-23 21:58:33 +08:00
yangdx
7a66c009ed Refactor node type legend color mapping
- Reduce chaos legend by storing standard node type
- Reset lengend on graph manual refresh
- Optimize color mapping for new node type schema
2025-09-23 19:48:16 +08:00
yangdx
9db8f2fce5 feat: Add popular labels and search APIs with history management
- Add popular/search label endpoints
- Implement SearchHistoryManager utility
- Replace client-side with server search
- Add graph data version tracking
- Update UI for better label discovery
2025-09-20 02:03:47 +08:00
yangdx
6fc13d7a47 Update node size logic node expansion 2025-04-17 04:32:39 +08:00
yangdx
648a024af2 Add node types 2025-04-08 13:38:06 +08:00
yangdx
11392fc20f Udate node types 2025-04-08 13:09:25 +08:00
yangdx
389abfe7e5 Update color 2025-04-08 12:46:23 +08:00
yangdx
f87dfd2067 Map node type to fix color 2025-04-08 12:41:33 +08:00
yangdx
1af97bbead Optimize node color 2025-04-08 12:41:33 +08:00
yangdx
0261ebcf51 Fix linting 2025-04-07 01:18:18 +08:00
yangdx
ad96bed7ac Change to undirected graph 2025-04-07 01:17:44 +08:00
yangdx
fe7b5ac13b Add edge size handling for nodeexpansion 2025-04-07 01:04:45 +08:00
yangdx
f5c1ad2c92 Optimize node corlor 2025-04-07 00:27:42 +08:00
yangdx
b94c1e406b Optimize node color 2025-04-06 23:04:45 +08:00
yangdx
9b7a8395b5 Optimize node color by pre-set colors 2025-04-06 22:01:05 +08:00
yangdx
7371516860 Add node cololr by type feature to node expansion 2025-04-06 17:07:20 +08:00
yangdx
b003d613ee Add initial value display for AsyncSelect 2025-04-06 15:53:04 +08:00
yangdx
11b93f1a25 Fix linting 2025-04-06 14:57:21 +08:00
yangdx
df0594852a Set queryLabel after query on page first load 2025-04-06 14:56:55 +08:00
yangdx
1b939493d2 Fix linting 2025-04-05 15:26:46 +08:00
yangdx
bfc28625aa Fix merge problem 2025-04-05 15:26:08 +08:00
yangdx
be87f27612 Fix merge conflicts 2025-04-05 15:13:42 +08:00
yangdx
9d6a3c281b Merge branch 'feat-node-color' into merge-node-color 2025-04-05 14:39:49 +08:00
yangdx
ae1e991724 Merge branch 'feat-edge-thickness' into merge-edge-thickness 2025-04-05 13:06:28 +08:00
yangdx
cc2d604782 Keep graph query label after 401 error for post-login data reload 2025-04-05 12:05:37 +08:00
yangdx
247be483eb Merge branch 'main' into clear-doc 2025-04-04 05:45:06 +08:00
choizhang
81355481c1 feat: Add legend components and toggle buttons 2025-04-03 22:42:13 +08:00
choizhang
312c5b16a5 refactor(useLightragGraph): Optimize node color generation logic 2025-04-03 21:35:28 +08:00
yangdx
419432d156 Update i18n translation 2025-04-03 00:14:21 +08:00
yangdx
1a1f934e27 Feat: replace min_degree with max_nodes in webui 2025-04-02 18:35:32 +08:00
choizhang
cd3817ce30 feat (graph settings): Add edge thickness range configuration function 2025-04-01 00:36:32 +08:00
choizhang
9518360021 fix(useLightragGraph): Change the label of the edge from type to keyword 2025-03-29 23:27:40 +08:00
yangdx
fe72b9d65d Updated relationships label in locale files. 2025-03-22 15:07:46 +08:00
yangdx
2ed5cdce5e Update the node size of the expanded node 2025-03-22 14:49:04 +08:00
yangdx
ebd73a54b9 Fix node size calculation bugs 2025-03-22 12:39:16 +08:00
yangdx
613c06c52b Fix max dgree calculation error in node expansion 2025-03-22 12:09:33 +08:00
yangdx
86709a5e8e Update webui assets 2025-03-22 11:40:52 +08:00
yangdx
133bc40735 Improve node size calculation logic for node expansion to prevent oversized 2025-03-22 11:39:46 +08:00
yangdx
2fd38381c0 Simplify log message for graph query 2025-03-22 11:29:04 +08:00