2

I want to add another arrow betweem module1 and module3 of my circular smartdiagram, but can't figure out how to do it.

My diagram looks like this:

current diagram

And should contain a arrow like this:

expected diagram

Below is a MWE of my current diagram

\documentclass{article}
\usepackage{smartdiagram}
\begin{document}
\begin{figure}[ht]
    \centering
    \smartdiagramset{
        circular final arrow disabled=true, 
    }
    \smartdiagram[circular diagram:clockwise]{
        A, B, C, D
    }
\end{figure}
\end{document}`

1 Answer 1

3

You have to use the additions library of smartdiagram.

\documentclass{article}
\usepackage{smartdiagram}
\usesmartdiagramlibrary{additions}
\begin{document}
\begin{figure}[ht]
    \centering
    \smartdiagramset{
        circular final arrow disabled=true, 
        additions={
            additional arrow color=black,
            additional arrow tip=stealth,
            additional arrow line width=2pt,
        }
    }
    \smartdiagramadd[circular diagram:clockwise]{
        A, B, C, D
    }{}
    \smartdiagramconnect{->}{module3/module1}
\end{figure}
\end{document}

Output

6
  • thank you. I tried the additions library, but didn't get it to work. My mistake was actually using \smartdiagram instead of \smartdiagramadd
    – dfherr
    Dec 16, 2015 at 16:35
  • using {->, shorten >=8pt, shorten <=8pt} as the arrow style also offsets it approximately like the default arrows
    – dfherr
    Dec 16, 2015 at 17:00
  • Is it possible to use arow tips on both ends, like if and only if arrow?
    – Sigur
    Sep 1, 2016 at 19:39
  • You mean like this? \smartdiagramconnect{<->}{module3/module1}
    – Benjamin
    Sep 1, 2016 at 19:41
  • @Benjamin, I'd like on curved arrows. The vertical I'll delete. I want equilateral triangle format with circular arrows.
    – Sigur
    Sep 1, 2016 at 19:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .