On Sun, 2006-09-17 at 20:35 +0200, Ruud van Silfhout wrote: > >> I don't suppose you'd know how to do this in graphviz? I'm quite new to > >> it. > >> > Hi, > > Adding a label to a node is done by adding an extra line in the dot-file > containing the name of the node followed by [label="1: yourlabeltext"]; > so for a node with name x this would be: x [label="1: yourlabeltext"]; > adding labels to edges is done the same way add: a -> b [label= > "edgelabel"];. However, AFAICT an edge only supports one label, which > will be placed by dot. > More can be read in the dot-manual: > http://www.graphviz.org/Documentation/dotguide.pdf. see figure 3.
Ah, thanks for the info -- I hadn't realised that edges could be labelled like that. In fact, in the list of attributes on the graphviz website, I see that there are headlabel and taillabel attributes that do exactly what Werner suggested. Thanks, Joe _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel