Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
4  
Where else if not in the pgf/tikZ manual? –  Thorsten Donig Jul 2 '11 at 15:00
2  
@T.D: Sometimes easier said than found... –  Brent.Longborough Jul 2 '11 at 17:50
    
In v2.10 most of the interesting options are listed in section 15 Actions on Paths. Also useful are bend left/right (p470). –  Caramdir Jul 3 '11 at 10:31
    
@Caramdir Exactly. I knew about bend left and bend right but was looking for a way to be more specific without having to specify exactly how the edge should look. I found my solution in the options in, out, and looseness. Even though Jake's answer was helpful, if you make your comment into an answer, I will accept it as the best answer. –  Tyson Williams Jul 5 '11 at 14:10

1 Answer 1

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.).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.