[Tex/LaTex] What are all the options for the “edge” part of the TikZ \path command

graphspathstikz-pgf

I am drawing edges in a graph using a command like

\path (nodeName1) edge [->] (nodeName2)

The only way I have learned what options can go into the square brackets after "edge" is by looking at examples. Where can I find everything that can possibly be used as an option here?

Best Answer

Saying

\path (nodeName1) edge [->] (nodeName2);

is the same as saying

\path (nodeName1);
\path [every edge, ->] (nodeName1) -- (nodeName2);

every edge is a style that by defaults just contains draw. This means that you can pass any option to the edge operation that you could also pass to a \path [draw] operation (e.g. colours, line thicknesses, decorations, etc.).