fix(用户管理): 修复用户列表页面加载失败问题
修复用户列表页面加载失败导致测试超时的问题,确保页面元素正确渲染
This commit is contained in:
42
apps/web/src/pages/plugins/graph/index.ts
Normal file
42
apps/web/src/pages/plugins/graph/index.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Graph 模块 barrel export
|
||||
*/
|
||||
|
||||
export type {
|
||||
GraphNode,
|
||||
GraphEdge,
|
||||
GraphConfig,
|
||||
NodePosition,
|
||||
HoverState,
|
||||
} from './graphTypes';
|
||||
|
||||
export {
|
||||
getEdgeColor,
|
||||
DEFAULT_REL_COLOR,
|
||||
NODE_BASE_RADIUS,
|
||||
NODE_CENTER_RADIUS,
|
||||
NODE_HOVER_SCALE,
|
||||
LABEL_MAX_LENGTH,
|
||||
} from './graphConstants';
|
||||
|
||||
export {
|
||||
getNodeDegree,
|
||||
degreeToRadius,
|
||||
computeCircularLayout,
|
||||
} from './graphLayout';
|
||||
|
||||
export {
|
||||
getRelColor,
|
||||
getEdgeTypeLabel,
|
||||
drawCurvedEdge,
|
||||
drawNode,
|
||||
drawEdgeLabel,
|
||||
drawNodeLabel,
|
||||
drawFullGraph,
|
||||
} from './graphRenderer';
|
||||
|
||||
export {
|
||||
handleCanvasMouseMove,
|
||||
handleCanvasMouseLeave,
|
||||
handleCanvasClick,
|
||||
} from './graphInteraction';
|
||||
Reference in New Issue
Block a user