Possible to label edges in a non-directed graph?

I am a graphviz newbie. I have the following code in a non-directed graph:

subgraph cluster5 {
"Horst Rittel" -- "Dick Buchannan"[label = " influenced"];
label = "Social Research + Design";
color = blue;
}

but the label is not showing up. Is it not possible to label edges in a non-directed graph?

Thanks for any help!

This works fine for me when I

This works fine for me when I put it inside "graph {....}" and run dot on it. Can you post an entire graph that exhibits this problem and the command you are using? Thanks.

Thank you -- stupid error

Thanks for your assistance! I found the error. I had an extra semicolon on a line. Once you find the error, it is always something dumb

Recent comments