|
|
|
@ -39,7 +39,14 @@ const EdgeAddNodeButton: React.FC<EdgeAddNodeButtonProps> = ({
|
|
|
|
justifyContent: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
backgroundColor: '#1890ff', // 使用项目主题蓝色
|
|
|
|
backgroundColor: '#1890ff', // 使用项目主题蓝色
|
|
|
|
borderColor: '#1890ff',
|
|
|
|
borderColor: '#1890ff',
|
|
|
|
color: '#ffffff'
|
|
|
|
color: '#ffffff',
|
|
|
|
|
|
|
|
transition: 'transform 0.2s ease' // 添加过渡动画
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
onMouseEnter={(e) => {
|
|
|
|
|
|
|
|
e.currentTarget.style.transform = 'scale(1.5)';
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
onMouseLeave={(e) => {
|
|
|
|
|
|
|
|
e.currentTarget.style.transform = 'scale(1)';
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|