i thought i have to clarify my problem:
i just want to know how to generate an image from the jpdl.xml file (exactly the same way as the designer do)
You have to check the designer sources. AFAIK it uses the GEF framework used within Eclipse so this code cannot be used externally. What's wrong with using the designer-generated image file?
thank you very much for your answer.
No, nothing wrong with it, but just i am going to devellop a module that will dynamically create process.jpdl.xml and then deploy it (programmatically)
so i have , after generating the xml file, to generate the png file in order to deploy it in jbpm database with the xml file