plate diagram.def (300B)
1 \tikzset{ 2 pdiag var/.style={draw,circle,minimum width=5.5mm,inner sep=0.75mm}, 3 pdiag latent/.style={pdiag var,fill=white}, 4 pdiag observed/.style={pdiag var,fill=gray!25}, 5 pdiag plate/.style={draw,rectangle,rounded corners}, 6 pdiag factor/.style={draw,rectangle,fill=black,minimum width=1.5mm}, 7 }