How to drow this in teXstudio? I cant draw dots and arrows like that
1 Answer
I made this and my previous answer a community wiki to allow others to change or delete it if they feel it is inappropriate to answer such questions.
\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{fit,bending}
\begin{document}
\begin{tikzpicture}[bullet/.style={circle,fill,inner sep=1pt}]
\begin{scope}[local bounding box=stuff]
\path foreach \Y in {1,2,3,4}
{(225-\Y*90:1) node[bullet,label=above:$P_\Y$] (B\Y){}};
\draw[thick,-stealth,shorten >=2pt,shorten <=2pt]
(B1) edge[bend left] (B2) (B2) edge[bend left] (B1);
\end{scope}
\node[circle,draw,fit=(stuff)]{};
\end{tikzpicture}
\end{document}
just-do-it-for-me
question.