答案1
一个看似过于复杂的提案,它根据文本调整圆圈的大小,并允许您轻松更改p
。(我没有看到箭头方向的规则,所以只是对其进行了硬编码。)
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[declare function={p=0.6;},nodes={circle,align=center}]
\draw[thick]
(90+p*360/2:0.5)node[anchor=90+p*360/2+180] (n1)
{Run\\ $p=\pgfmathparse{p}\pgfmathprintnumber\pgfmathresult$}
({90+p*360+(1-p)*360/2}:0.5)node[anchor={90+p*360+(1-p)*360/2+180}] (n2)
{Hide\\ $1-p=\pgfmathparse{1-p}\pgfmathprintnumber\pgfmathresult$}
let \p1=(current bounding box.south west),
\p2=(current bounding box.north east),
\n1={max(\x1,\y1,\x2,\y2)} in
(0,0) circle[radius=\n1] (0,\n1) -- (0,0) node[fill,inner sep=1pt](b){}
-- (90+p*360:\n1) (b) edge[-stealth] (-110:0.8*\n1);
\end{tikzpicture}
\end{document}