# Draw some circles and arrows

I work with the latex class beamer (\usetheme{Warsaw}). In order to say the area C of mathematics was born from the area A and the area B, I need to draw two circles (area A and area B) in right and left with two arrows comes from them into the third one (area C) that is under and between them. Is there any idea how to draw it?

• Nov 2, 2016 at 16:35
• Nov 2, 2016 at 16:36
• Yes, I have been trying the first one before sending my question. But it seems very complicated for me and still have not understand it.
– tarl
Nov 2, 2016 at 16:51
• Can you show us what you have tried? So we don't have to start from scratch? Nov 2, 2016 at 16:52
• I use : \begin{frame} \smartdiagramset{ planet size=2cm, distance planet-text=0.1, distance planet-satellite=2.5cm, /tikz/connection planet satellite/.append style={<-} } \smartdiagram[constellation diagram]{ A,B,C } \end{frame} But the result is B-->A<--C I need B and C at the above of A
– tarl
Nov 2, 2016 at 17:00

Inspired by https://tex.stackexchange.com/a/283917/36296

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,trees}

\tikzset{
>=stealth',
punkt/.style={
circle,
draw,
fill=blue!30,
text centered},
level 1/.style={sibling angle=120, level distance=1cm},
edge from parent/.style= {draw=none},
}

\begin{document}
\begin{frame}
\begin{tikzpicture}

\coordinate (main) at (0,0) [clockwise from=270]
child { node[punkt] (1) {A}}
child { node[punkt] (2) {B}}
child { node[punkt] (3) {C}}
;

\draw[->] (2) -- (1);
\draw[->] (3) -- (1);

\end{tikzpicture}
\end{frame}
\end{document}


Another solution:

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning}

\begin{document}
\begin{frame}
\centering
\begin{tikzpicture}[
node distance = 14.1 mm and 10 mm,
> = stealth',
every node/.style = {circle, draw=blue!30!black, fill=blue!30,
minimum size=7mm}
]
\node (b) {B};
\node (a) [below right=of b]    {A};
\node (c) [above right=of a]    {C};
%
\draw[->] (b) -- (a);
\draw[->] (c) -- (a);
\end{tikzpicture}
\end{frame}
\end{document}


• Nice choice of fill colour! :) Nov 2, 2016 at 18:13
• to be honest, i copy it from your nice answer :-) Nov 2, 2016 at 18:14
• In return I copied the rest of my answer from another question. The colour was the only original thing I contributed :) Nov 2, 2016 at 18:15
• @tarl, here is usual way to say "thank you" with vote answer and accept this one, which is the best solve your problem :-) Nov 3, 2016 at 14:43