Wie kann ich einem Kreisdiagramm einen Kreispfeil hinzufügen?

Wie kann ich einem Kreisdiagramm einen Kreispfeil hinzufügen?

Ich brauche das folgende Kreisdiagramm, um es zu schließen (einen zusätzlichen Pfeil nach „ee“ in Richtung „aa“ hinzufügen). Können Sie mir bitte helfen? Der Code lautet wie folgt:

\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}

Antwort1

Standardmäßig wird eincircular diagram Istgeschlossen, aber Sie haben den letzten Pfeil deaktiviert, indem Sie

circular final arrow disabled=true

zum \smartdiagramset. Entfernen Sie einfach diese Zeile.

Der vollständige Code, in dem ich das minipageein wenig geändert habe, ist unten. Für diesen Screenshot habe ich \fboxum das ein hinzugefügt minipage, um zu zeigen, dass die Größe des minipagefür das Diagramm angemessen ist:

Bildbeschreibung hier eingeben

\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}

verwandte Informationen