Interesting. I can't find the example you gave in the dot2tex documentation, nor in the repo. man dot2tex doesn't work for me - although I used easy_install, so wasn't expecting it to work - but I can't see any documentation in the latest ZIP file either (dot2tex-2.8.7.zip) that includes your example. Please could you tell me more about where you found that explanation? Thanks.
–
sampablokuperJun 28 '12 at 13:23

I didn't write the example I gave was on the man page but the mechanism is explained on the man page, cause that's where I found it (today).
–
Marc van DongenJun 28 '12 at 14:16

I don't know anything about dot2tex, nor can I run it (I think), but the verbatimbox package allows you to stuff verbatim into a box, and then (immediately or later) recall the box. Perhaps that would help you achieve your goal.
–
Steven B. SegletesMay 17 '13 at 17:41