I have a problem trying to create a simple causal chain, as it can be seen on the attached file: List of available TikZ libraries with a short introduction.
I'm having two main issues:
- I would like to remove the "clouds" from X and Y.
- The arrow from Z should hit perpendicularly the arrow from X to Y.
I have spent hours trying to solve them, but without luck.
Here is my MWE so far:
\documentclass{article}
\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{shapes,arrows}
%
\begin{document}
%
\tikzstyle{line} = [draw, -latex']
\tikzstyle{cloud} = [draw, ellipse, node distance=3cm, minimum height=2em]
\begin{tikzpicture}[node distance = 3cm, auto]
\node [cloud] (init) {Z1};
\node [blank, below of=init] (sup) {};
\node [cloud, left of=X1] (X1) {X1};
\node [cloud, right of=Y1] (Y1) {Y1};
\path [line] (X1) -- (Y1);
\path [line] (init) -- (sup);
\end{tikzpicture}
%
\end{document}
Here is the output:
The wanted image should appear like this: