4

I like to describe an algorithm with its input paramter. I decided to take a constellation diagram. The name of the algorithm is the planet and the parameter names are the satellites. But the arrows are showing from the planet to the satellites although they are input parameters. Therefore I like to change the direction: from the satellites to the planet.

Is there any possibility?

Here is my code:

    \smartdiagramset{planet size=2cm, distance planet-text=0.1 ,distance
    planet-satellite=2.5cm} 
    \smartdiagram[constellation diagram]{
        MaxWalkSAT,max\_tries,max\_flips,target,p, gew.Klauseln
    }

Thanks for you answers,

Christopher

1 Answer 1

5

Sure; the TikZ's style connection planet satellite can be changed.

enter image description here

The complete code:

\documentclass{article}
\usepackage{smartdiagram}

\begin{document}

\smartdiagramset{
  planet size=2cm, 
  distance planet-text=0.1,
  distance planet-satellite=2.5cm,
  /tikz/connection planet satellite/.append style={<-}
} 
\smartdiagram[constellation diagram]{
  MaxWalkSAT,max\_tries,max\_flips,target,p, gew.Klaus
}

\end{document}
1
  • Thank you very much. It is the solution I was looking for. Jun 27, 2015 at 17:20

You must log in to answer this question.

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