Diving deeper into edge options
Every edge
operation builds its own path; that’s why edge
supports general path options. Furthermore, an edge can have connection-specific options, such as defining a straight line or a curve.
So, we can divide edge styling options into the following:
- Path options, including general TikZ options
- Connection options
Let’s look at them separately.
Path options
Remember, a path is a series of lines or curves with nodes and other elements. All options that you can set to a path, you can set to an edge, such as line style options.
These options can be as follows, using example values for clarity instead of syntax grammar formality:
color=red
: This draws the edge in a red colorultra thin
,very thin
,thin
,semi thick
,very thick
,ultra thick
: These options define the thickness of the edge lineline width=3pt
: This denotes that the edge shall have a thickness of 3 ptloosely dotted
,dotted
,densely...