Repository navigation
feat: 添加实验蓝图可视化功能 - #5
Merged
Merged
Conversation
新增文件: - .gitignore:忽略 __pycache__/、node_modules/、.env、*.log、venv/ - frontend/src/pages/Code/blueprintMockData.ts:模拟实验蓝图数据,包含6个阶段25+个实验步骤节点及其边关系、状态、指标、日志 - frontend/src/components/code/BlueprintGraph.tsx:基于 AntV G6 v5 的 DAG 可视化组件,支持 dagre 布局、节点状态着色(pending/running/success/failed)、右上角悬停信息面板、点击跳转详情 - frontend/src/pages/Code/CodeBlueprint.tsx:独立蓝图页面(路由 /code/blueprint),含状态统计摘要、颜色图例、全屏图表 - frontend/src/pages/Code/CodeStepDetail.tsx:步骤详情页(路由 /code/blueprint/step/:stepId),含概览/结果数据/日志三个标签页 修改文件: - frontend/src/App.tsx:新增 /code/blueprint 和 /code/blueprint/step/:stepId 两条路由 - frontend/src/pages/Code/CodeProjectWorkspace.tsx:新增第三个标签页"Blueprint",选中时切换为全宽蓝图视图并显示状态图例,标签栏提取到顶层保持始终可见 - frontend/package.json:新增 @antv/g6 依赖 - frontend/package-lock.json:同步更新依赖锁定文件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增文件:
修改文件: