I want to draw something like this diagram in TikZ. My code is:
\documentclass[a4paper]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node (wrijving) {wrijving};
\node (lading) [right=of wrijving] {(onzichtbare) lading};
\node (elkracht) [below=of lading] {elektrische kracht};
\node (afst) [below left=of elkracht] {afstoten};
\node (aantr) [below right=of elkracht] {aantrekken};
\path (wrijving) edge[->] (lading)
(lading) edge[->] (elkracht)
(elkracht) edge[-] (afst)
edge[-] (aantr);
\end{tikzpicture}
\end{document}
Probably there's a better way to draw this, but I don't know how.
I also want "afstoten" and "aantrekken" to be closer. I know you can specify a value to below
and left
, but is is possible to have a branch with normal length, and just rotate it x deg?
chains
library?forest
?:-)
I thinkforest
is the easiest!