in meinem Diagramm möchte ich gerne eine graue "Hintergrundbox" mit dem Titel "für alle Produkte", die die Schritte 1-3 zusammenfasst. Ist also ähnlich wie hier https://i.stack.imgur.com/QVmuk.png
Des Weiteren wäre es gut, wenn ein Pfeil von Abbruchkriterium zu dieser neuen "Hintergrundbox" zeigt.
\documentclass[tikz, border=5pt]{standalone} \usetikzlibrary{shapes,arrows.meta,positioning} \begin{document} \begin{figure}[htbp] \centering \begin{tikzpicture}[ auto, thick, StartEnde/.style = { draw, fill=gray!55, rounded rectangle, rounded corners, minimum width=12em, minimum height=3em, align=center }, Block/.style = { draw, fill=gray!15, rounded corners, minimum width=12em, minimum height=3em, align=center }, Entscheidung/.style = { draw, fill=gray!35, diamond, text width=6em, align=flush center, inner sep=0pt }, Linie/.style = { draw, -Stealth } ] \node [StartEnde] (1) {Start}; \node [Block, below=of 1] (2) {Schritt 1}; \node [Block, below=of 2] (3) {Schritt 2}; \node [Block, below=of 3] (4) {Schritt 3}; \node [Block, below=of 4] (5) {noch was}; \node [Entscheidung, below=of 5] (6) {Abbruch- kriterium?}; \node [StartEnde, below=of 6] (7) {Ziel}; \path [Linie] (1) edge (2) (2) edge (3) (3) edge (4) (4) edge (5) (5) edge (6) (6) edge (7) ; \path [Linie] (6) -| node [near start] {nein} (2); \path [Linie] (6) -- node {ja} (7); \end{tikzpicture} \caption{Ablauf} \label{fig:Ablauf} \end{figure} \end{document}