PGF/TikZ Manual | PGFplots | TikZ Editor

TikZ and PGF Manual

Libraries

74 To Path Library

74.1 Straight Lines

The following style installs a to path that is simply a straight line from the start coordinate to the target coordinate.

  • /tikz/line to(no value)

  • Causes a straight line to be added to the path upon a to or an edge operation.

    (-tikz- diagram)


    \tikz {\draw (0,0) to[line to] (1,0);}
74.2 Move-Tos

The following style installs a to path that simply “jumps” to the target coordinate.

74.3 Curves

The curve to style causes the to path to be set to a curve. The exact way this curve looks can be influenced via a number of options.

74.4 Loops
  • /tikz/loop below(style, no value)

  • Works like the previous option.

  • /tikz/loop left(style, no value)

  • Works like the previous option.