Technical requirements
You need to have a LaTeX installation, including TikZ, or you can compile the example code online with Overleaf or at https://tikz.org/chapter-04.
The code is also available on GitHub at https://github.com/PacktPublishing/LaTeX-graphics-with-TikZ/tree/main/04-drawing-edges-and-arrows.
From time to time, you will see code snippets for an explanation. You can take the corresponding complete source code from TikZ.org or GitHub if you want to run such a snippet.
In this chapter, we will use the following TikZ libraries: positioning
, quote
, and arrows.meta
. Furthermore, we will use the topaths
library, which is loaded automatically by TikZ, so we don’t have to load it ourselves.