How can I change the arrow orientation (rotate by 180°) of this smart diagram?

\smartdiagramset{set color list={blue!40!white, blue!40!white,blue!40!white, blue!40!white, blue!40!white}}
\smartdiagram[priority descriptive diagram]{text1, text2, text3, text4, text5}
  • 1
    Welcome to TeX.SX. I am sure that it is possible and people here will be happy to help. Giving a minimal working example explaining your problem would improve your chance of getting answers. – nidhin Dec 13 '18 at 17:34

I cannot find a better way to do this, other than appending/overwriting parts of the tikz style defined for the arrow inside the priority descriptive diagram styles defined by smartdiagram.

You need to insert \tikzset{priority arrow/.append style={rotate=180,anchor=0,xshift=30,}} somewhere before the \smartdiagram[...]{...} line. This line does a few things.

  1. it rotates 180 degrees (whereas the style defined is rotate=90 degrees)
  2. it anchors the arrow at a different point (anchor=west is default)
  3. it shifts the arrow downward using xshift=30 (you may need to adjust this manually, depending on the size of your diagram)

The MWE with these changes is:


\smartdiagramset{set color list={blue!40!white, blue!40!white,blue!40!white, blue!40!white, blue!40!white}}
\tikzset{priority arrow/.append style={rotate=180,anchor=0,xshift=30,}}
\smartdiagram[priority descriptive diagram]{text1, text2, text3, text4, text5}


Which results in this:

flipped arrow on smartdiagram's priority descriptive diagram

|improve this answer|||||
  • how does one expand or contract the width of the blue boxes with the text [1-5] in them? – 3kstc Sep 16 '19 at 4:23
  • @3kstc I would recommend asking this as a new question. It will get more views that way. In the smartdiagram documentation under priority descriptive diagram implementation I found the keys that you need: \smartdiagramset{module minimum height=2cm, description width=10cm,descriptive items y sep=3}. You would need to merge with anything that you already have in the \smartdiagramset arguments. descriptive items y sep needs to be modified if the height is too large -- otherwise the boxes overlap. – whatisit Sep 17 '19 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.