diagramming customizable api java
I was wondering if exists some java library or API that can help me to achieve this:

I have to do a GUI so the user can construct a diagram (states or workflow) and in the end save the picture and the representation of the diagram in a xml file. Actually I have some advance but if you can tell me some library or API will be great


Thanks
diagramming customizable api java
===

I was wondering if exists some java library or API that can help me to achieve this:

I have to do a GUI so the user can construct a diagram (states or workflow) and in the end save the picture and the representation of the diagram in a xml file. Actually I have some advance but if you can tell me some library or API will be great


Thanks