Let $Y$ be a connected CW-complex and $F\subset Y\times Y$ be a closed connected subspace such that the composition $F\subset Y\times Y \rightarrow Y$ is a bijective map, where
$Y\times Y\rightarrow Y $ is given by $(y_1,y_2)\mapsto y_{1}$.
I'm looking for a (easy) example of such $Y$ and such $F$ such that the composition map $F\subset Y\times Y \rightarrow Y$ is continuous bijective but not a homeomorphism.