()
| 36 | const nodeColor = data.color || defaultColor |
| 37 | |
| 38 | const getBorderColor = () => { |
| 39 | if (data.selected) return theme.palette.primary.main |
| 40 | else if (customization?.isDarkMode) return theme.palette.grey[700] |
| 41 | else return theme.palette.grey[900] + 50 |
| 42 | } |
| 43 | |
| 44 | const getBackgroundColor = () => { |
| 45 | if (customization?.isDarkMode) { |