Not sure if I am being stupid or if this is a bug. I am having great problems keeping smartdiagram settings local to the diagram. Settings in one diagram has side effects across other diagrams in the same document, and diagrams differ depending on the order presented.
I would have thought settings within a group should remain local -- and they sometimes do, but often they do not.
Take the following MWE and resulting output. Diagram A and C are identical, and each is within a group. The larger central planet size in diagram A does not carry forward to diagram B even though diagram B does not explicitly set a planet size (so far so good).
However Diagram B resets the arrows (to be uniform color) and resets colors of satellites -- again both these changes within a group.
Diagram C (identical to A) "sees" these changes and retains the satellite re-colorings, and does something odd with the arrow colors (making some uniform but not others).
Surely this is a bug? So how do I keep setting changes absolutely and always local?
\documentclass{article}
\usepackage{smartdiagram}
\begin{document}
%Diagram A
\begingroup
\smartdiagramset{
planet size=4.0cm,
satellite size=1.0cm,
}
\smartdiagram[constellation diagram]{A,1,2,3,4,5,6 }
\endgroup
%Diagram B
\begingroup
\smartdiagramset{
% planet size=1.5cm,
satellite size=1.0cm,
set color list={red, red,red},
uniform connection color=true,
}
\smartdiagram[constellation diagram]{B,1,2,3,4,5,6 }
\endgroup
%Diagram C - identical to A
\begingroup
\smartdiagramset{
planet size=4.0cm,
satellite size=1.0cm,
}
\smartdiagram[constellation diagram]{C,1,2,3,4,5,6 }
\endgroup
\end{document}