As part of my Tikz diagram, partly made of small orange squares, I want a title phrase including the orange square at end of it. I must be missing the "node" concept because the code below doesn't work - the phrase "all men with haplotype" over-writes the orange square instead of prefixing it.
Can someone kindly explain
1) How can I do what I want?
2) What is the explanation for the behavior I see?
3) Suppose I wanted an explanatory phrase with an colored square or circle, or two of them, interspersed in the text. Is there a simple way to do that?
\begin{tikzpicture}[
rect/.style={inner sep=0pt,minimum size=2mm,draw,rectangle},
alive/.style={fill=orange,draw}]
%% IBS enclosure for rectangle haplotype
\draw (0,0) rectangle (6,5);
\node[rect,alive,right](title) at (5,4.5) {};
\node[left of=title] {all men with haplotype};
\end{tikzpicture}