Yes..its related to UI and i want to show the diagram of a particular process instance on where ity is pending.in jbpm console we have that feature which shows the workflow diagram and the current step.
I am just trying to figure out how to do it using the APIs