| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
基于 Excalidraw 的代码结构可视化工具,用于展示代码中的结构体/类及其关系。
npm installnpm run devnpm run build点击工具栏的 Add Struct 按钮,在画布中央创建一个新的结构体容器。
按 Escape 可取消连线模式。
选中结构体后,左侧属性面板可调整:
| 按键 | 功能 |
|---|---|
| C | 进入/退出连线模式 |
| Escape | 退出连线模式 |
支持从代码分析工具导入结构体定义:
{
"structs": [
{
"name": "UserService",
"fields": [
{ "name": "db", "type": "*Database", "description": "数据库连接" }
],
"methods": [
{ "name": "GetUser", "params": "id: int", "returnType": "User", "description": "获取用户" }
],
"description": "用户服务,处理用户相关业务逻辑",
"descriptionTitle": "概述"
}
],
"connections": [
{ "from": "UserService", "to": "Database" }
]
}采用三层复合架构:
MIT
| Back | FazBrowse Home | New Git URL |