I have 3 nodes placed on a circle. These nodes are differently shaped. I want to connect them and want the arrows to look like a circle, because it is a repeating process.
I can connect them with bend left
, but that is not circle enough for me. I could mess around with in=...
and out=...
, but that is not a smart solution, because I would have to mess around every time I want such a picture.
Here an example code:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% three differently shaped nodes on a circle
\node [rectangle, draw, text width=3cm] (a) at (180:3cm) {Hello World! Hello World!};
\node [rectangle, draw, text width=2cm] (b) at (60:3cm) {Hello World!};
\node [rectangle, draw, text width=2cm] (c) at (300:3cm) {Hello World!};
% connectors between the nodes
\draw[->] (a) to [bend left] (b);
\draw[->] (b) to [bend left] (c);
\draw[->] (c) to [bend left] (a);
% the circle I wish the connectors to be placed on
\draw[dashed,red] circle [radius=3cm];
\end{tikzpicture}
\end{document}
I would like the connectors to be placed directly on the red dashed circle. Has anyone a smarter solution than try and error with in
and out
?
smartdiagram
intersections
library to find the actual points where circles and border meet and connect them with anarc
. That solution would be as exact as it gets but very annoying to maintain.