# Smart Art diagram in Tikz

I was trying the following code from the smartdiagram package, but I can't see the same result as in the manual.

My code is

\documentclass[12pt,a4paper]{article}
\usepackage{smartdiagram}

\begin{document}
\begin{minipage}[t][3.5cm]{\textwidth}
\begin{center}
\smartdiagramset{
uniform color list=gray!60!black for 3 items,
back arrow disabled=true,
}
}
PGF,Ti\textit{k}Z,Smartdiagram%
}{%
below of module1/Low Level, below of module3/High level%
}
\end{center}
\end{minipage}
\end{document}

• A little more detail on what you're seeing would be helpful. If the code compiled, how is the diagram different from what it should be. If the program didn't compile, what error is given in the log file? Does it say "smartdiagram.sty not found"? – DJP Jun 21 '14 at 18:34
• It didn't compile. The error is: ! Missing \endcsname inserted. <to be read again> \pgf@arrows@invert] l.25 } – Y_gr Jun 21 '14 at 18:40
• additional arrow style=]-latex’ should be additional arrow style=]-latex' -- the final character should be an apostrophe. Does it work if you change that? It does here at least. – Torbjørn T. Jun 21 '14 at 19:33
• That didn't work for me but when I added the arrows library explicitly, it does. – DJP Jun 21 '14 at 19:44
• Yeah, sorry, was just about to add that. – Torbjørn T. Jun 21 '14 at 19:45

From this post here it says (for a different question on a different package): "You need the arrows library (not explicitly mentioning all the libraries needed for the examples is very common in the manual)". So make the change Torbjorn T. mentions and add in the library and everything works for me. Try this code:

\documentclass[12pt,a4paper]{article}
\usepackage{smartdiagram}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{minipage}[t][3.5cm]{\textwidth}
\begin{center}
\smartdiagramset{
uniform color list=gray!60!black for 3 items,
back arrow disabled=true,