|Create Diagram Model Programatically [message #708892]
||Wed, 03 August 2011 09:06
| Murthy Bhat
Registered: July 2009
I have a graphiti editor which i use to create/edit certain domain model. The diagram information is all stored in the same file when saved. However there are some old domain models which do not have the Diagram model within them. So when I load the old files, I want to create corresponding pictogram elements and other graphics programmatically.
I have created the diagram using:
Diagram diagram = Graphiti.getPeCreateService().createDiagram(diagramTypeId, diagramName, true);
Is there any way to create pictogram elements and graphics algorithms programmatically or should I create each element using the create features only?
Thanks in advance for help.
[Updated on: Wed, 03 August 2011 09:11]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11844 seconds