import { DeviceType } from './types';

// 设备类型配置
export const DEVICE_TYPE_CONFIG: Record<DeviceType, { icon: string; label: string; color: string }> = {
  server: { icon: 'icon-server', label: '服务器', color: '#2196F3' },
  router: { icon: 'icon-router', label: '路由器', color: '#FF9800' },
  switch: { icon: 'icon-desktop', label: '交换机', color: '#4CAF50' },
  desktop: { icon: 'icon-desktop', label: '终端', color: '#9C27B0' },
  cloud: { icon: 'icon-cloud', label: '云端节点', color: '#00BCD4' },
  text: { icon: 'icon-text', label: '文本标注', color: '#757575' },
  region: { icon: 'icon-rectangle', label: '区域', color: '#FF5722' },
};

// 侧边栏宽度
export const DRAWER_WIDTH = 280;

// 初始节点数据 - 带层级关系
