Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{article}
- \usepackage {tikz}
- \usetikzlibrary {shapes,arrows,positioning}
- \begin{document}
- \begin {tikzpicture} [remember picture,-latex, node distance= 1cm]
- \node [circle, draw] (a) {0};
- \node [circle, draw] (b) [right=of a] {1};
- \node[above,font=\large\bfseries] at (current bounding box.north west) {M};
- \end {tikzpicture}
- \begin {tikzpicture} [remember picture,-latex, node distance= 1cm]
- \node [circle, draw] (a) {0};
- \node [circle, draw] (b) [right=of a] {1};
- \node[above,font=\large\bfseries] at (current bounding box.north west) {M};
- \end {tikzpicture}
- \vspace {2cm}
- \begin {tikzpicture} [-latex, node distance= 1cm,remember picture]
- \node [circle, draw] (c) {0};
- \node [circle, draw] (d) [right=of c] {1};
- \node [circle, draw] (e)[right=of d] {2};
- \node[above,font=\large\bfseries] at (current bounding box.north west) {N};
- \draw[overlay] (a) -- (d);
- \end {tikzpicture}
- \begin {tikzpicture} [remember picture,-latex, node distance= 1cm]
- \node [circle, draw] (a) {0};
- \node [circle, draw] (b) [right=of a] {1};
- \node[above,font=\large\bfseries] at (current bounding box.north west) {M};
- \end {tikzpicture}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment