I wish to add dotted line connecting two nodes and an arc line as described in the photo.
Here is my code:
\documentclass[tikz]{standalone}
\usetikzlibrary{
shapes.geometric,
positioning,
fit,
calc
}
\usepackage{tikz}
\begin{document}
\tikzset{
block/.style = {circle, draw,
text width=1em,align=center,inner sep=0pt},
line/.style = {draw,thick,->},
}
\begin{tikzpicture}
\node [block] (s1) {1};
\node [block, below = of s1](s2){2};
\path [line] (s1) -- node [right] {b} (s2);
\end{tikzpicture}
\end{document}
Best Answer
How about
I've used the
calc
library to shift thea
path to the left a bit.