Thanks for your response David.

I have read up enough on the dot language (which wasn't much) to know it probably just takes describing the style of nodes differently, possibly to reflect that the 'unit' is an interface, configuration or module.

I/we are using tinyos-1.x; is it the same version of nesdoc that is used? If so, would you know where in the Python code the dot generation and rendering takes place?

Darren Bishop

David Gay wrote:
On 8/13/06, Darren Bishop <[EMAIL PROTECTED]> wrote:
Does anyone know how to produce component graphs standalone i.e. as
gif/jpg/svg images and also does anyone know how to change the style of them?

The latest version of nesdoc (it's in the tinyos 2 CVS, or in the
tinyos-tool for 2.x rpm), which does all this is written (mostly) in
python, but doesn't have a "give me the graph for this component only"
facility. That would probably be useful... (for the next version,
maybe...). Note that this python-based version is used for 2.x
programs only, except if you pass it a -new option (see man nesdoc).

If you want to change the graph's style, the easiest would be to
change the python code which generates the "dot" file which is passed
to the dot tool mentioned in the other answers. Or you could edit the
generated "dot" input files after the fact, and rerun dot - they are
left in the
 <docdirectory>/<platform>/chtml
directory.

David Gay

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to