1

How to edit the arrow on the WME to be like the attached image (to have an inclined angle at the corner)?

 \documentclass[border=2pt]{standalone}
 \usepackage{tikz}
 \usetikzlibrary{positioning}
 \usetikzlibrary{positioning,calc,arrows.meta}
 \begin{document}


\begin{tikzpicture}[%
 block/.style={rectangle, draw, fill=blue!10, text width=5em, text centered,
rounded corners},line/.style={draw, -latex},arrow/.style={draw, -latex}]

   \node[block,text width=1.1cm, align=center,font=\bfseries](Driver) at 
 (0,0) 
 {A};
 \path [arrow, text width=8.5cm, align=left] ($(Driver)+(0,-0.8)$) -- ++ 
(0.3cm,0cm) |- node[near start, right] { 
\scalebox{0.8}{
\begin{tabular}{l}
\scalebox{0.5}{\textbullet}  Picks $x \in_{R} \mathbb{Z}_{p}$ \\  
 \scalebox{0.5}{\textbullet}  Computes $y \in g^{x}$.\\ \scalebox{0.5} 
   {\textbullet}  Computes $\mathcal{A}_i = BN^{1/(f+k)}$
  \end{tabular}}} ($(Driver)+(0,-1.7)$);


\end{tikzpicture}
\end{document}

enter image description here

3

You only need to add rounded corners. Your MWE also requires amssymb to be loaded.

 \documentclass[border=2pt]{standalone}
 \usepackage{amssymb}
 \usepackage{tikz}
 \usetikzlibrary{positioning}
 \usetikzlibrary{positioning,calc,arrows.meta}
 \begin{document}


\begin{tikzpicture}[%
 block/.style={rectangle, draw, fill=blue!10, text width=5em, text centered,
rounded corners},line/.style={draw, -latex},arrow/.style={draw, -latex}]

   \node[block,text width=1.1cm, align=center,font=\bfseries](Driver) at 
 (0,0) 
 {A};
 \path [arrow, text width=8.5cm, align=left,rounded corners,thick] ($(Driver)+(0,-0.8)$) -- ++ 
(0.3cm,0cm) |- node[near start, right] { 
\scalebox{0.8}{
\begin{tabular}{l}
\scalebox{0.5}{\textbullet}  Picks $x \in_{R} \mathbb{Z}_{p}$ \\  
 \scalebox{0.5}{\textbullet}  Computes $y \in g^{x}$.\\ \scalebox{0.5} 
   {\textbullet}  Computes $\mathcal{A}_i = BN^{1/(f+k)}$
  \end{tabular}}} ($(Driver)+(0,-1.7)$);


\end{tikzpicture}
\end{document}

enter image description here

A somewhat more minimal version thereof which also has a tighter bounding box is

\documentclass[border=2pt]{standalone}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[%
 block/.style={rectangle, draw, fill=blue!10, text width=5em, text centered,
rounded corners},line/.style={draw, -latex},arrow/.style={draw, -latex}]

 \node[block,text width=1.1cm, align=center,font=\bfseries](Driver)  {A};
 \path [arrow, rounded corners,thick] 
  ([yshift=-4mm]Driver.south) -- ++ 
  (0.3cm,0cm) |- node[near start, align=left,right,scale=0.8] {\begin{tabular}{l}
   \scalebox{0.5}{\textbullet}  Picks $x \in_{R} \mathbb{Z}_{p}$ \\  
   \scalebox{0.5}{\textbullet}  Computes $y \in g^{x}$.\\ 
   \scalebox{0.5}{\textbullet}  Computes $\mathcal{A}_i = BN^{1/(f+k)}$
  \end{tabular}} ([yshift=-14mm]Driver.south);
\end{tikzpicture}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.