我需要有关 TikZ 中箭头的帮助

我需要有关 TikZ 中箭头的帮助

我想要一个对称箭头指向这个维恩图中的另一个圆圈,但却无法弄清楚。

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{pgflibraryarrows}
\begin{document}

\begin{tikzpicture}
\tikzset{venn circle/.style={draw,circle,minimum 
width=6cm,fill=#1,opacity=0.4,text opacity=1}}

 \node [venn circle = gray] (A) at (0,0) {$Virginia$};
 %\node [venn circle = white] (B) at (60:4cm) {$Ohio$};
 \node [venn circle = gray] (C) at (0:5cm) {$Ohio$};
 %\node[left] at (barycentric cs:A=1/2,B=1/2 ) {}; 

 \node[below] at (barycentric cs:A=1/3 ) (endpoint) {};
 \node[below] at (barycentric cs:C=1/3 ) (endpoint) {};
 \draw[*-angle 60] 
 ( [yshift=-10pt] $ (A.south)!0.5!(C.south) $ ) node[anchor=north] {\{  
Virginia \emph{or} Ohio \}}
to[bend right,looseness=1.5] 
(endpoint.south east);


\end{tikzpicture}


\end{document}

答案1

像这样吗?

两支箭

以下内容已编辑,以纳入 Alain Matthes 的评论。

\documentclass[tikz,multi,border=10pt]{standalone}
\usetikzlibrary{calc,arrows.meta}% is the recommended library
\begin{document}
\begin{tikzpicture}
  [
    venn circle/.style={draw,circle,minimum width=6cm,fill=#1,opacity=0.4,text opacity=1},
    >/.tip={Straight Barb[angle=60:3pt 3]},
  ]

  \node [venn circle = gray] (A) at (0,0) {$Virginia$};
  %\node [venn circle = white] (B) at (60:4cm) {$Ohio$};
  \node [venn circle = gray] (C) at (0:5cm) {$Ohio$};
  %\node[left] at (barycentric cs:A=1/2,B=1/2 ) {};

  \node[below] at (A.center) (endpoint A) {};
  \node[below] at (C.center) (endpoint C) {};
  \node [circle, fill, minimum size=5pt, inner sep=0pt] (either) at ( [yshift=-10pt] $ (A.south)!0.5!(C.south) $ ) {};
  \draw[->] (either) to[bend right,looseness=1.5] (endpoint C.south east);
  \draw[->] (either) to[bend left,looseness=1.5] (endpoint A.south east);
  \node [anchor=north] at (either) {\{ Virginia \emph{or} Ohio \}};
\end{tikzpicture}
\end{document}

相关内容