원형 다이어그램에 원형 화살표를 추가하려면 어떻게 해야 합니까?

원형 다이어그램에 원형 화살표를 추가하려면 어떻게 해야 합니까?

닫으려면 다음 원형 다이어그램이 필요합니다("aa" 방향으로 "ee" 뒤에 추가 화살표 추가). 도와주세요. 코드는 다음과 같습니다.

\usesmartdiagramlibrary{additions} % required in the preamble
\usetikzlibrary{arrows} % required in the preamble
\bigskip
\begin{minipage}[c][8cm]{\textwidth}
\centering
\smartdiagramset{
uniform color list=orange!60!yellow for 5 items,
circular final arrow disabled=true,
circular distance=2.25cm,
arrow tip=to,
arrow line width=2pt,
additions={
additional item bottom color=orange!60!yellow,
additional item border color=gray,
additional item shadow=drop shadow,
additional item offset=0.65cm,
additional arrow line width=2pt,
additional arrow tip=to,
additional arrow color=orange!60!yellow,
}
}
\smartdiagramadd[circular diagram]{
aa,bb,cc,dd,ee
}{
above of module1/Start,right of module5/End
}
\smartdiagramconnect{to-}{module1/additional-module1}
\smartdiagramconnect{-to}{module5/additional-module2}
\end{minipage}

답변1

기본적으로circular diagram ~이다닫혔지만 추가하여 마지막 화살표를 비활성화했습니다.

circular final arrow disabled=true

\smartdiagramset. 해당 줄을 제거하면 됩니다.

비트 를 수정한 전체 코드 minipage는 다음과 같습니다. 이 스크린샷에서는 의 크기가 다이어그램에 적합하다는 것을 표시하기 위해 \fbox주위에 을 추가했습니다 .minipageminipage

여기에 이미지 설명을 입력하세요

\documentclass{article}
\usepackage{smartdiagram}
\usesmartdiagramlibrary{additions} % required in the preamble
\begin{document}
\begin{minipage}[b][7cm]{\textwidth}
\centering
\smartdiagramset{
uniform color list=orange!60!yellow for 5 items,
%circular final arrow disabled=true,
circular distance=2.25cm,
arrow tip=to,
arrow line width=2pt,
additions={
additional item bottom color=orange!60!yellow,
additional item border color=gray,
additional item shadow=drop shadow,
additional item offset=0.65cm,
additional arrow line width=2pt,
additional arrow tip=to,
additional arrow color=orange!60!yellow,
}
}%
\smartdiagramadd[circular diagram]{
aa,bb,cc,dd,ee
}{
above of module1/Start,right of module5/End
}%
\smartdiagramconnect{to-}{module1/additional-module1}%
\smartdiagramconnect{-to}{module5/additional-module2}%
\end{minipage}
\end{document}

관련 정보