From 1d2583c128a1d269d9edad1a3be3c56c4c71c4b7 Mon Sep 17 00:00:00 2001 From: carry <2641257231@qq.com> Date: Thu, 29 May 2025 18:06:19 +0800 Subject: [PATCH] =?UTF-8?q?docs(paper):=20=E8=B0=83=E6=95=B4=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=9E=B6=E6=9E=84=E5=9B=BE=E7=9A=84=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E5=92=8C=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改了LaTeX系统架构图中的元素间距和布局,移除了底部的说明文字以简化图表。主要变更包括: 1. 调整各层标题和模块的垂直间距 2. 统一各层标题的上边距为0.5cm 3. 下移业务逻辑层和数据访问层模块位置 4. 移除底部冗余的架构说明文字 --- paper/latex/figures/system_architecture.tex | 34 ++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/paper/latex/figures/system_architecture.tex b/paper/latex/figures/system_architecture.tex index 1a08054..b60140f 100644 --- a/paper/latex/figures/system_architecture.tex +++ b/paper/latex/figures/system_architecture.tex @@ -10,13 +10,13 @@ % 定义三层架构 \node[layer, fill=blue!10, text height=5cm] (presentation) at (0,0) {}; - \node[title, above=0.1cm of presentation.north west, anchor=west] {表现层}; + \node[title, above=0.5cm of presentation.north west, anchor=west] {表现层}; - \node[layer, fill=green!10, below=0.5cm of presentation] (business) {}; - \node[title, above=0.1cm of business.north west, anchor=west] {业务逻辑层}; + \node[layer, fill=green!10, below=1cm of presentation] (business) {}; + \node[title, above=0.5cm of business.north west, anchor=west] {业务逻辑层}; - \node[layer, fill=orange!10, below=0.5cm of business] (data) {}; - \node[title, above=0.1cm of data.north west, anchor=west] {数据访问层}; + \node[layer, fill=orange!10, below=1cm of business] (data) {}; + \node[title, above=0.5cm of data.north west, anchor=west] {数据访问层}; % 表现层模块 \node[module, fill=blue!20] (ui1) at (-3.5, 1.5) {模型管理}; @@ -28,27 +28,27 @@ \node[module, fill=blue!20] (ui7) at (0, -1.5) {系统设置}; % 业务逻辑层模块 - \node[module, fill=green!20] (bl1) at (-3.5, -4.5) {模型训练模块\\(Unsloth/TRL)}; - \node[module, fill=green!20] (bl2) at (0, -4.5) {模型推理模块\\(流式生成)}; - \node[module, fill=green!20] (bl3) at (3.5, -4.5) {数据集生成模块\\(LangChain)}; - \node[module, fill=green!20] (bl4) at (-2, -6) {数据处理模块}; - \node[module, fill=green!20] (bl5) at (2, -6) {配置管理模块}; + \node[module, fill=green!20] (bl1) at (-3.5, -5) {模型训练模块\\(Unsloth/TRL)}; + \node[module, fill=green!20] (bl2) at (0, -5) {模型推理模块\\(流式生成)}; + \node[module, fill=green!20] (bl3) at (3.5, -5) {数据集生成模块\\(LangChain)}; + \node[module, fill=green!20] (bl4) at (-2, -6.5) {数据处理模块}; + \node[module, fill=green!20] (bl5) at (2, -6.5) {配置管理模块}; % 数据访问层模块 - \node[module, fill=orange!20] (dl1) at (-3.5, -10) {SQLite\\(系统配置)}; - \node[module, fill=orange!20] (dl2) at (0, -10) {TinyDB\\(数据集管理)}; - \node[module, fill=orange!20] (dl3) at (3.5, -10) {JSON文件\\(导入/导出)}; + \node[module, fill=orange!20] (dl1) at (-3.5, -10.5) {SQLite\\(系统配置)}; + \node[module, fill=orange!20] (dl2) at (0, -10.5) {TinyDB\\(数据集管理)}; + \node[module, fill=orange!20] (dl3) at (3.5, -10.5) {JSON文件\\(导入/导出)}; % 层间连接 \draw[arrow] (presentation.south) -- (business.north) node[midway, right] {函数调用}; \draw[arrow] (business.south) -- (data.north) node[midway, right] {数据操作}; % 添加Gradio框架标注 - \node[above=0.1cm of presentation.north east, anchor=east, font=\small\itshape] {基于Gradio框架}; + \node[above=0.2cm of presentation.north east, anchor=east, font=\small\itshape] {基于Gradio框架}; - % 添加说明 - \node[below=0.2cm of data.south, text width=12cm, text centered, font=\footnotesize] - {系统采用三层架构设计,实现了功能模块间的解耦与分层,提高了系统的可扩展性和可维护性}; + % % 添加说明 + % \node[below=0.2cm of data.south, text width=12cm, text centered, font=\footnotesize] + % {系统采用三层架构设计,实现了功能模块间的解耦与分层,提高了系统的可扩展性和可维护性}; \end{tikzpicture} \caption{系统三层架构设计图}