# easytouch-plugin-graph-db **Repository Path**: easytouchplugins/easytouch-plugin-graph-db ## Basic Information - **Project Name**: easytouch-plugin-graph-db - **Description**: easytouch-plugin-graph-db - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-08-05 - **Last Updated**: 2026-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EasyTouch Plugin: Core Graph 核心图谱引擎 - 节点/边 CRUD、子图遍历、权限隔离。 ## 插件信息 | 属性 | 值 | |------|-----| | plugin_id (Rust) | `server.com.easytouch.graph_db` | | 版本 | 0.1.0 | | 分类 | Core | | UI 渲染模式 | schema | ## 目录结构 ``` ├── server/ # Server 端(Rust dylib) │ ├── src/ │ ├── Cargo.toml │ └── manifest.json └── README.md ``` ## Rust API | 方法 | 说明 | |------|------| | `create_node` | 创建节点 | | `query_nodes` | 查询节点 | | `create_edge` | 创建边 | | `query_edges` | 查询边 | | `traverse` | 子图遍历 | | `find_path` | 查找路径 | | `delete_node` | 删除节点 | | `delete_edge` | 删除边 | | `update_node` | 更新节点 | | `update_edge` | 更新边 | | `get_node` | 获取节点 | | `get_edge` | 获取边 | | `get_stats` | 获取图谱统计 | ## Manifest 管理 > **禁止手工编辑 manifest.json**。manifest.json 由 `etk` 工具自动生成和更新。 ### 生成 manifest.json ```bash # 在 server/ 目录下执行,扫描源码 #[plugin_method] 标注,生成 manifest.json cd rust && etk build ``` ### 验证 manifest.json ```bash # 校验 manifest.json schema 完整性 cd rust && etk validate ``` ### 打包发布 ```bash # 生成市场压缩包 cd rust && etk pack ``` ## 依赖 - **SDK**: easytouch-sdk ## 开发 ```bash # Rust 端构建 cd rust && cargo build ``` ## 许可证 MIT