i want to generate this images too, with the current state/task highlighted. could somebody tell us, how to implement this feature?
try to search jbpm forum for "image", it was here discussed. You need to deploy not only process definition (xml) but process image (jpg) and description where is what element on image (gpd.xml). With these files can jbpm console highlight appropriate element on image. If you don't use jbpm console you have do do it yourself I think. Somewhere here on the forum was how to do it in wicket.
That's all I know. Try search!