# Smart diagram -> constellation diagram: Change direction of the arrows

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
}


Christopher

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

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}

• Thank you very much. It is the solution I was looking for. – Christopher Jun 27 '15 at 17:20