User:KlasN/Sandbox/Tikz

Testing differnt Tikz stuff

edit

Connecting two points via straight lines that are only horizontal and vertical, use for first horizontal then vertical

\draw (0,0) -| (1,1);

 

or for first vertical then horizontal

\draw (0,0) |- (1,1);

 

Curved paths using a Bezier curve can be created using the "..controls() ..()" command, with one or two control points.

\draw (0,0) .. controls (1,1) .. (4,0)
      (5,0) .. controls (6,0) and (6,1) .. (5,2);