Optimize node color

This commit is contained in:
yangdx
2025-04-08 09:02:18 +08:00
parent 2abc26b718
commit 1af97bbead

View File

@@ -17,29 +17,29 @@ const NODE_COLORS = [
'#e3493b', // Google Red - geo '#e3493b', // Google Red - geo
'#1212a1', // Deep Cyan - weapon '#1212a1', // Deep Cyan - weapon
'#0f705d', // Green - organization '#0f705d', // Green - organization
'#a64dff', // Purple - technology '#b300b3', // Purple - technology
'#f46a9b', // Magenta '#f46a9b', // Magenta
'#00bfa0', // Turquoise '#bd7ebe', // Light Violet
'#fdcce5', // Pale Pink '#fdcce5', // Pale Pink - category
'#0f558a', // Blue - location '#0f558a', // Blue - location
'#b2e061', // Yellow Green '#b2e061', // Yellow Green
'#bd7ebe', // Light Violet - event '#00bfa0', // Turquoise - event
'#439bd6', // Cyan - person '#439bd6', // Cyan - person
'#094338', // Deep Green '#094338', // Deep Green
'#dc0ab4', // Pink Red '#5a2c6d', // Deep Violet
'#fd7f6f', // Light Red - category '#fd7f6f', // Light Brown - location
'#b04238', // Brown '#adc2eb', // Sky Blue - animal
]; ];
// Extended colors - Used when node types exceed primary colors // Extended colors - Used when node types exceed primary colors
const EXTENDED_COLORS = [ const EXTENDED_COLORS = [
'#5ad45a', // Light Green '#742b25', // Dark Brown
'#5a2c6d', // Deep Violet '#9efacc', // Light Green
'#6c1313', // Dark Red '#ffbf80', // Light Brown
'#184868', // Dark Cyan '#003366', // Dark Blue
'#996600', // Yellow Brown '#996600', // Yellow Brown
'#4421af', // Deep Purple '#4421af', // Deep Purple
'#E67E22', // Carrot '#cf6d17', // Carrot
'#ff1a1a', // Pure Red '#ff1a1a', // Pure Red
]; ];