Studiot, your picture of virtual work is the consequence of my explication of VW.
In every nude of a roof truss, the equilibrium tell us that the sum of forces will be 0. You can multiply this equilibrium for a vector, in particular for a displacement vector (in this case you have a VW=0)
You can move every nude of the truss virtualy withou work. Then you have a sum over all nudes of the truss and other sumatory over the equilibirum forces in every nude, if you operate you can separate in two sumatories of works. And the results are:
The sum of the virtual external work = the sum of the internal virtual work.
If I have a blackboard may be I can explain better.
Don`t hesitate in correcting my english. I try to improve my wiriting english.