
我想知道是否有任何方法可以讓 smartdiagram 製作帶有邊框的氣泡,例如行星和衛星周圍的黑色邊框。這是我嘗試過的程式碼,但沒有成功。非常感謝任何幫助。
\documentclass[11 pt, a4paper]{article}
\usepackage{smartdiagram}
\begin{document}
\smartdiagramset{border color = black,
uniform color list=blue!30 for 8 items,
bubble center node color = blue!50,
bubble center node size=5cm,
bubble node size=3cm
}
\smartdiagram[bubble diagram]{A,
B, C, D, E, F, G, H, I}
\end{document}
答案1
是的。
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{smartdiagram}
\begin{document}
\smartdiagramset{border color = black,
uniform color list=blue!30 for 8 items,
bubble center node color = blue!50,
bubble center node size=5cm,
bubble node size=3cm
}
\tikzset{bubble node/.append style={draw=black}}
\smartdiagram[bubble diagram]{A,
B, C, D, E, F, G, H, I}
\end{document}
答案2
工作正常!多謝!如果有人有興趣如何取得我正在查詢的類型的 ab/w 氣泡圖,這裡是程式碼:
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{smartdiagram}
\begin{document}
\smartdiagramset{border color = black,
uniform color list=blue!30 for 8 items,
bubble center node color = none,
bubble fill opacity=0,
bubble center node size=5cm,
bubble node size=3cm
}
\tikzset{bubble center node/.append style={draw=black, thin},
bubble node/.append style={
draw=black, thin}
}
\smartdiagram[bubble diagram]{A,
B, C, D, E, F, G, H, I}
\end{document}