Here is a quick fix using an auxiliary command:
\documentclass[border=10pt]{standalone}
\usepackage{smartdiagram}
\makeatletter
\NewDocumentCommand{\smartdiagramx}{r[] m}{%
\StrCut{#1}{:}\diagramtype\option
\IfStrEq{\diagramtype}{priority descriptive diagram}{% true-priority descriptive diagram
\pgfmathparse{subtract(\sm@core@priorityarrowwidth,\sm@core@priorityarrowheadextend)}
\pgfmathsetmacro\sm@core@priorityticksize{\pgfmathresult/2}
\pgfmathsetmacro\arrowtickxshift{(\sm@core@priorityarrowwidth-\sm@core@priorityticksize)/2}
\begin{tikzpicture}[every node/.style={align=center,let hypenation}]
\foreach \smitem [count=\xi] in {#2}{\global\let\maxsmitem\xi}
\foreach \smitem [count=\xi] in {#2}{%
\edef\col{\@nameuse{color@\xi}}
\node[description,drop shadow](module\xi)
at (0,0+\xi*\sm@core@descriptiveitemsysep) {\smitem};
\draw[line width=\sm@core@prioritytick,\col]
([xshift=-\arrowtickxshift pt]module\xi.base west)--
($([xshift=-\arrowtickxshift pt]module\xi.base west)-(\sm@core@priorityticksize pt,0)$);
}%
\coordinate (A) at (module1);
\coordinate (B) at (module\maxsmitem);
\CalcHeight(A,B){heightmodules}
\pgfmathadd{\heightmodules}{\sm@core@priorityarrowheightadvance}
\pgfmathsetmacro{\distancemodules}{\pgfmathresult}
\pgfmathsetmacro\arrowxshift{\sm@core@priorityarrowwidth/2}
\begin{pgfonlayer}{background}
\node[priority arrow,rotate=180,transform shape] at ([xshift=-\arrowxshift pt]module\maxsmitem.north west){};
\end{pgfonlayer}
\end{tikzpicture}
}{}% end-priority descriptive diagram
}%
\makeatother
\begin{document}
\smartdiagramx[priority descriptive diagram]{%
text1\\text1,
text2\\text2,
text3\\text3,
text4\\text4
}
\end{document}
The result:
Another version with text at the bottom and top-down fading:
\documentclass[border=10pt]{standalone}
\usepackage{smartdiagram}
\tikzfading[name=priorityarrowfadingdown,
top color=transparent!5,
bottom color=transparent!80
]
\tikzset{priority
arrow fill/.style={
fill=gray,
path fading=priorityarrowfadingdown
}
}
\makeatletter
\NewDocumentCommand{\smartdiagramx}{r[] m m}{%
\StrCut{#1}{:}\diagramtype\option
\IfStrEq{\diagramtype}{priority descriptive diagram}{% true-priority descriptive diagram
\pgfmathparse{subtract(\sm@core@priorityarrowwidth,\sm@core@priorityarrowheadextend)}
\pgfmathsetmacro\sm@core@priorityticksize{\pgfmathresult/2}
\pgfmathsetmacro\arrowtickxshift{(\sm@core@priorityarrowwidth-\sm@core@priorityticksize)/2}
\begin{tikzpicture}[every node/.style={align=center,let hypenation}]
\foreach \smitem [count=\xi] in {#2}{\global\let\maxsmitem\xi}
\foreach \smitem [count=\xi] in {#2}{%
\edef\col{\@nameuse{color@\xi}}
\node[description,drop shadow](module\xi)
at (0,0+\xi*\sm@core@descriptiveitemsysep) {\smitem};
\draw[line width=\sm@core@prioritytick,\col]
([xshift=-\arrowtickxshift pt]module\xi.base west)--
($([xshift=-\arrowtickxshift pt]module\xi.base west)-(\sm@core@priorityticksize pt,0)$);
}%
\coordinate (A) at (module1);
\coordinate (B) at (module\maxsmitem);
\CalcHeight(A,B){heightmodules}
\pgfmathadd{\heightmodules}{\sm@core@priorityarrowheightadvance}
\pgfmathsetmacro{\distancemodules}{\pgfmathresult}
\pgfmathsetmacro\arrowxshift{\sm@core@priorityarrowwidth/2}
\begin{pgfonlayer}{background}
\node[priority arrow,rotate=180,transform shape] (pr-arrow) at ([xshift=-\arrowxshift pt]module\maxsmitem.north west){};
\end{pgfonlayer}
\node[below] at (pr-arrow.tip){#3};
\end{tikzpicture}
}{}% end-priority descriptive diagram
}%
\makeatother
\begin{document}
\smartdiagramx[priority descriptive diagram]{%
text1\\text1,
text2\\text2,
text3\\text3,
text4\\text4
}{Text}
\end{document}
The result:
Changing arrow style
from the default <-
to ->
ensures that the arrows go in the correct direction for the main nodes:
For a uniform look to the arrows remove
additional arrow tip=stealth,
additional arrow line width=1pt,
[I'm not sure if you want this or not.]
To support the arrows going in the different directions for the additional modules, you need to leave the automatic connections disabled and add them afterwards by hand.
\smartdiagramconnect{<-}{module2/additional-module2}
\smartdiagramconnect{<-}{additional-module1/module1}
\smartdiagramconnect{<-}{module3/additional-module3}
To change the look of the additional modules, you can adapt their style using the keys described in the manual.
additions={
additional item offset=0.5cm,
additional item border color=red,
additional arrow color=red,
additional item width=2cm,
additional item height=2cm,
additional item text width=3cm,
additional item bottom color=red!50,
additional item shadow=drop shadow,
}
Complete code:
\documentclass{article}
\usepackage{smartdiagram}
\usesmartdiagramlibrary{additions}
\begin{document}
\smartdiagramset{%
back arrow disabled=true,
module minimum width=2cm,
module minimum height=2cm,
module x sep=3cm,
text width=2cm,
arrow style=->,
additions={
additional item offset=0.5cm,
additional item border color=red,
additional arrow color=red,
additional item width=2cm,
additional item height=2cm,
additional item text width=3cm,
additional item bottom color=red!50,
additional item shadow=drop shadow,
}
}
\smartdiagramadd[flow diagram:horizontal]{
Reward Function (R), Inverse Reinforcement Learning, Optimal Policy ($\pi$)
}{below of module1/R that explains expert trajectories,above of module2/Environment Model (MDP), below of module3/Expert trajectories}
\smartdiagramconnect{<-}{module2/additional-module2}
\smartdiagramconnect{<-}{additional-module1/module1}
\smartdiagramconnect{<-}{module3/additional-module3}
\end{document}
Best Answer
Sure; the TikZ's style
connection planet satellite
can be changed.The complete code: