答案1
欢迎!这种类型的问题和答案已经存在相当多,这里还有一个可以供您参考。您可以将其用于chains
右侧的节点链,并适合虚线矩形。
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{arrows.meta,chains,fit}
\begin{document}
\begin{tikzpicture}[node distance=3em,
marr/.style={-Stealth,semithick},
cpr/.style={draw,minimum height=3.5em,inner xsep=1ex,
text width=7em,align=center,fill=blue!20
,rounded corners,join,font=\sffamily}]
\begin{scope}[start chain=A going below,
nodes={on chain,cpr},
every join/.style={marr}]
\node{Planning};
\node{Ressources};
\node{Sensors};
\node{Processing};
\end{scope}
\node[left=of A-2,cpr] (B) {Information\\ system};
\draw[marr] (B) |- (A-1);
\draw[marr] (B) |- (A-4);
\node[draw,dashed,inner sep=1.2em,fit=(A-2)(A-3)]{};
\end{tikzpicture}
\end{document}