line between the edges of two nodes


/ Published in: LaTeX
Save to your folder(s)



Copy this code and paste it in your HTML
  1. \usetikzlibrary{shapes}
  2. \begin{tikzpicture}
  3. \draw (0,0) node(a) [rectangle, draw] {a}
  4. (3,-1) node(b) [circle, draw] {b};
  5. \draw (a) -- (b);
  6. \end{tikzpicture}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.