% File showing the updated object flow
% Author: Jan Möbius

\tikzstyle{ObjectRoot}=[ellipse, draw=black, fill=blue!30!white, drop shadow,text centered, text=black, text width=2cm]
\tikzstyle{GroupObject}=[ellipse, draw=black, fill=blue!10!white, drop shadow,text centered, text=black, text width=1.8cm]
\tikzstyle{Object}=[ellipse, draw=black, fill=red!30!white, drop shadow,text centered, text=black, text width=1cm]

\tikzstyle{Group} = [fill=orange!30!white,rectangle,rounded corners,draw,inner sep =0.4cm]


\begin{center}
\begin{tikzpicture}[node distance=1cm]

\node [ObjectRoot] {Object Root}
 [sibling distance=3cm]
 child {node[Object] {Object}}
 child {node[GroupObject] {GroupObject}
   child {node[GroupObject] {GroupObject}
     child {node[Object] {Object}}
     child {node[Object] {Object}}
   }
   child {node[Object] {Object}}
 }
 child {node[GroupObject,xshift=0.5cm] {GroupObject}
   child {node[Object] {Object}}
 };

\begin{pgfonlayer}{background}
\node[Group,fit=(current bounding box) ] (Background) {};
\end{pgfonlayer}


\end{tikzpicture}
\end{center}
