Is there a way to add individual labels when you specify a graph using the following format?
digraph {
1 -> 2 -> 3 -> 1
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you mean labels on nodes, it can be done like this:
If you want to label the edges, you have to split them up like this:
The reason you cannot do something like
1 -> 2 [label="x"] -> 3 [label="y"]...can be found in the dot specification:Each
edge_stmtcan have only oneattr_list.