我使用tikzpicture
环境生成了下图。我对最左边生成的箭头不满意,箭头从框指向${\bf{Spectral Curve}}$
,${\bf{Quantum curve}}$
反之亦然。我在下面给出了我的代码。如果可以提出一些修改建议,那将会很有帮助。
\begin{tikzpicture}
[block/.style={rounded corners, minimum width=3cm, minimum height=2cm,draw}]
\label{Qflow}
\node[block] (1) {spectral curve\\ $$ A(x,y)=0$$};
\node[block, right=-.5 and 2 of 1] (3) {correlation differential $\omega_{g,n}$};
\node[block, right=-.5 and 2 of 3] (5) {Free Energy};
\node[block, below=of 5] (6) {Partition Function};
\node[block, left=-.5 and 2 of 6] (4) {Schr\"{o}dinger equation};
\node[block, left=-.5 and 2 of 4] (2) {Quantum curve};
\begin{scope}[->, shorten >=1mm, shorten <=1mm]
\draw (1) to[out=0,in=180] (3);
\draw (3) to[out=0,in=180] (5);
\draw (5) -- (6);
\draw (2) -- (1);
\draw (1) to[out=180,in=180] (2);
\draw (4) to[out=180,in=0] (2);
\draw (6) to[out=180,in=0] (4);
\end{scope}
\end{tikzpicture}
答案1
可能您对以下某个解决方案更满意:
\documentclass{article}
\usepackage[margin=1cm]{geometry}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
[block/.style={rounded corners, minimum width=3cm, minimum height=2cm,draw}]
\label{Qflow}
\node[block] (1) {spectral curve $A(x,y)=0$};
\node[block, right=-.5 and 2 of 1] (3) {correlation differential $\omega_{g,n}$};
\node[block, right=-.5 and 2 of 3] (5) {Free Energy};
\node[block, below=of 5] (6) {Partition Function};
\node[block, below=of 3] (4) {Schr\"{o}dinger equation};
\node[block, below=of 1] (2) {Quantum curve};
\begin{scope}[->, shorten >=1mm, shorten <=1mm]
\draw (1) -- (3);
\draw (3) -- (5);
\draw (5) -- (6);
\draw (2) -- (1);
\draw[transform canvas={xshift=1em}] (1) -- (2);
\draw (4) -- (2);
\draw (6) -- (4);
\end{scope}
\end{tikzpicture}
\bigskip
\begin{tikzpicture}
[block/.style={rounded corners, minimum width=3cm, minimum height=2cm, text width=2cm, align=center,draw}]
\label{Qflow}
\node[block] (1) {spectral curve $A(x,y)=0$};
\node[block, right=-.5 and 2 of 1] (3) {correlation differential $\omega_{g,n}$};
\node[block, right=-.5 and 2 of 3] (5) {Free Energy};
\node[block, below=of 5] (6) {Partition Function};
\node[block, below=of 3] (4) {Schr\"{o}dinger equation};
\node[block, below=of 1] (2) {Quantum curve};
\begin{scope}[->, shorten >=1mm, shorten <=1mm]
\draw (1) -- (3);
\draw (3) -- (5);
\draw (5) -- (6);
\draw[transform canvas={xshift=-0.5em}] (2) -- (1);
\draw[transform canvas={xshift=0.5em}] (1) -- (2);
\draw (4) -- (2);
\draw (6) -- (4);
\end{scope}
\end{tikzpicture}
\bigskip
\begin{tikzpicture}
[block/.style={rounded corners, minimum width=3cm, minimum height=2cm, text width=2cm, align=center,draw}]
\label{Qflow}
\node[block] (1) {spectral curve $A(x,y)=0$};
\node[block, right= of 1] (3) {correlation differential $\omega_{g,n}$};
\node[block, right= of 3] (5) {Free Energy};
\node[block, below=of 5] (6) {Partition Function};
\node[block, below=of 3] (4) {Schr\"{o}dinger equation};
\node[block, below=of 1] (2) {Quantum curve};
\begin{scope}[->, shorten >=1mm, shorten <=1mm]
\draw (1) -- (3);
\draw (3) -- (5);
\draw (5) -- (6);
\draw (2) -- (1);
\draw (1) to[out=180,in=180] (2);
\draw (4) -- (2);
\draw (6) -- (4);
\end{scope}
\end{tikzpicture}
\end{document}