如何使用 tikz 绘制此图片?

如何使用 tikz 绘制此图片?

在此处输入图片描述

如何在乳胶中绘制此图。

答案1

对于起点可能可以提供以下 MWE(基于答案制作 WBS 结构的代码):

\documentclass{article}
    \usepackage{tikz}
\usetikzlibrary{positioning,trees}

    \begin{document}
    \begin{tikzpicture}[
      every node/.style = {draw, rounded corners=3pt, semithick, anchor=north},
edge from parent fork down,
edge from parent/.style = {draw, thick},
         level 1/.style = {sibling distance=55mm,level distance = 22mm},
         level 2/.style = {sibling distance=44mm,level distance = 12mm},
         level 3/.style = {sibling distance=44mm,level distance = 18mm},
                        ]
    % Parents
\node   {root}
    child{node (A) {AAA}
        child {node (A1)  {A1 A1 A1}
          child {node (C1)  {C1 C1 C1 C1 C1}}
          child {node (C2)  {C2 C2 C2 C2 C2}}
            }
        child {node (A2) {A2 A2 A2 A2}}
        child {node (A3){A3 A3 A3 A3}}
          }
    child {node (B) {BBB}};
    \begin{scope}[node distance=0mm,
                  every node/.append style={draw=none, sharp corners, align=left}]
\node[below right=of B.south west] {Genetic\\ Genetic};
\node[below right=of A2.south west] {Mobility\\ Mobility\\ Mobility};
\node[below right=of A3.south west] {Critical\\ Critical\\ Critical};
\node[below right=of C1.south west] {Modified\\ Modified};
\node[below right=of C2.south west] {Dynamic\\ Dynamic\\ Dynamic\\ Dynamic\\ Dynamic};
    \end{scope}
\end{tikzpicture}
    \end{document}

在此处输入图片描述

正确的文本和微调我留给你去做。

相关内容