用乳膠製作圖表

用乳膠製作圖表

想要在 \smartdiagrama 中嘗試製作這種簡單的圖表,但中間點沒有出現

這是已經使用過的智慧圖包,仍然想用中心點來表達清楚。

我看過有人想拍這樣的照片。但我在智慧圖表中嘗試過,但中心點與那些箭頭並不在那裡。我正在寫我的論文以供最終提交。如果有人能幫助我,我會很高興。到目前為止我已經嘗試過:

\smartdiagram[circular diagram:anticlockwise]{  
    Set Mission, Actualize Goal , Respond to Changes, Sustain Commitment   
}

答案1

這是一種方法。

\documentclass[tikz,margin=3mm]{standalone}
\usetikzlibrary{positioning,shadows.blur,arrows.meta,bending}
\begin{document}
\begin{tikzpicture}[node distance=2em,
    nodes={draw,rounded corners,align=center,blur shadow,
    fill=white,minimum height=3em,minimum width=8em}]
 \node (L){Leadership};
 \node[above left=of L] (M) {Set Mission};
 \node[above right=of L] (A) {Actualize\\ Goal};
 \node[below right=of L] (S) {Sustain\\ Commitment};
 \node[below left=of L] (R) {Respond to\\ Changes};
 \def\LstAnchors{"south east","south west","north west","north east"}
 \foreach \X [remember=\X as \Y (initially R),count=\Z] in {M,A,S,R}
 {\draw[very thick,-{Stealth[bend]}] (\Y) to[bend left={40+20*pow(-1,\Z)}] (\X);
  \pgfmathsetmacro{\anchA}{{\LstAnchors}[Mod(\Z+3,4)]}
  \pgfmathsetmacro{\anchB}{{\LstAnchors}[Mod(\Z+1,4)]}
  \draw[very thick,{Stealth}-{Stealth}] (L.\anchB) -- (\X.\anchA); }
\end{tikzpicture}
\end{document}

在此輸入影像描述

或與圓之後的弧

\documentclass[tikz,margin=3mm]{standalone}
\usetikzlibrary{positioning,shadows.blur,arrows.meta,bending,calc,intersections}
\begin{document}
\begin{tikzpicture}[node distance=2em,
    nodes={draw,rounded corners,align=center,blur shadow,
    fill=white,minimum height=3em,minimum width=8em},
    pics/circular arc/.style args={from #1 to #2}{code={
 \path[name path=arc] 
  let \p1=(#1),\p2=(#2),\n1={atan2(\y1,\x1)},\n2={atan2(\y2,\x2)},
    \n3={ifthenelse(abs(\n1-\n2)<180,\n2,\n2-360)}
  in (\n1:\r) arc(\n1:\n3:\r);
 \draw[-{Stealth[bend]},pic actions,
    name intersections={of=#1 and arc,by=arcstart},
    name intersections={of=#2 and arc,by=arcend}] 
    let \p1=(arcstart),\p2=(arcend),\n1={atan2(\y1,\x1)},\n2={atan2(\y2,\x2)},
     \n3={ifthenelse(abs(\n1-\n2)<180,\n2,\n2-360)}
  in (\n1:\r) arc(\n1:\n3:\r);
 }}]
 \node (L){Leadership};
 \node[above left=of L,name path=M] (M) {Set Mission};
 \node[above right=of L,name path=A] (A) {Actualize\\ Goal};
 \node[below right=of L,name path=S] (S) {Sustain\\ Commitment};
 \node[below left=of L,name path=R] (R) {Respond to\\ Changes};
 \def\LstAnchors{"south east","south west","north west","north east"}
 \def\r{4}
 \foreach \X [remember=\X as \Y (initially R),count=\Z] in {M,A,S,R}
 {\path[line width=0.5mm,gray,shorten >=1mm,shorten <=1mm] pic{circular arc=from {\Y} to \X};
  \pgfmathsetmacro{\anchA}{{\LstAnchors}[Mod(\Z+3,4)]}
  \pgfmathsetmacro{\anchB}{{\LstAnchors}[Mod(\Z+1,4)]}
  \draw[line width=0.5mm,gray,{Stealth}-{Stealth}] (L.\anchB) -- (\X.\anchA); }
\end{tikzpicture}
\end{document}

在此輸入影像描述

相關內容