
\begin{tikzpicture}[
  node distance=2cm,
  box/.style={rectangle, draw, rounded corners, fill=white, minimum width=3cm, minimum height=1cm, align=center},
  ]
  % Nodes
    \node[box] (preview) {Ref. 3.1 Preview Data};
  \node[box, right=of preview] (detect) {Detect System Failure};
  \node[box, right=of detect] (create) {Create Maintenance Log};


  % Dashed box
  \draw[dashed, rounded corners] ([xshift=-0.5cm, yshift=0.5cm]detect.north west) rectangle ([xshift=0.5cm, yshift=-0.5cm]create.south east);
  \node[anchor=south, left=0.2cm, font=\small] at ([xshift=-0.5cm, yshift=0.5cm]detect.north west) {5.0 Maintenance and Prevention};

  % Arrows
  \draw[->, -{Stealth[length=8pt]}] (preview) -- (detect);
  \draw[->, -{Stealth[length=8pt]}] (detect) -- (create);

    % Node labels
    \node[above=0.1cm] at (detect.north) {5.1};
    \node[above=0.1cm] at (create.north) {5.2};
    
    %Figure Label
    \node[below=1cm, align=center] at (current bounding box.south) {Figure 7: 5.0 Maintenance and Prevention.};

\end{tikzpicture}
