如何构建流程图?

如何构建流程图?

我想将照片中的流程图绘制成图:

在此处输入图片描述

如何在 LaTex 中将这些绘制为图形?

答案1

你应该能够自己做到这一点,花点时间去学习。

\documentclass[tikz,border=3.14159pt]{standalone}
\usetikzlibrary{arrows.meta,positioning}

\begin{document}
    \sf
    \begin{tikzpicture}[node distance=2cm, on grid]
        \tikzset{
            mynode/.style={circle, draw,minimum width=8mm,inner sep=0pt},
            myarrow/.style={-{Stealth[scale=1.5]}}
            }
        \node (1) {SI};
        \node [mynode,right=of 1] (A1) {S};
        \node [mynode,right=of A1] (B1) {I};
        \draw [myarrow] (A1) -- (B1) node[midway,above] {$\beta$};
        
        \node [below of=1] (2) {SIS};
        \node [mynode,right=of 2] (A2) {S};
        \node [mynode,right=of A2] (B2) {I};
        \draw [myarrow] (A2) -- (B2) node[midway,above] {$\beta$};
        \draw [myarrow] (B2) to[bend right=50] node[midway,above] {$\gamma$} (A2) ;
    \end{tikzpicture}
\end{document}

待续...

演化图

相关内容