[BioC] More advance node labeling in Graphviz

Adrian Alexa adrian.alexa at gmail.com
Fri Nov 12 13:51:10 CET 2004


Dear Bioconductor developers,


I'm using Rgraphviz packages for plotting graphs. 

I would like to know if I can label nodes with information that can be
displayed on more lines. Something like:

   ------------
   |  info1   |
   |  info2   |
   |  info3   |
   ------------


I looked at the drawTxtLabel() function and I try to give as label for
the node:

nodeLabel = 'info1 \n info2 \n info3'

but it didn't work.

Can somebody tell me if he managed to plot such labels, and if is
possible some small code will be nice.

 

Many thanks,

Adrian


-- 
Adrian Alexa             
Max-Planck-Institut fuer Informatik  
Stuhlsatzenhausweg 85 Room 514 
66123 Saarbruecken, Germany



More information about the Bioconductor mailing list