3/30/2024 0 Comments Open source magicdraw![]() ![]() I could then see exactly how the tool was representing the model in XML, and therefore, what I needed to generate. So when I wrote an XMI generator for Clojure (a version of Lisp than runs on the JVM), I created simple UML models in MagicDraw and exported these as XMI. ![]() In terms of working out precisely what XMI to generate, you can look at the BPMN metamodel, but in many ways it is easier to do it by inspection. It should also work for BPMN in MagicDraw (at least), because if you use MagicDraw with the Cameo BPMN plug-in, BPMN is just treated as another UML profile - so the generated XMI is standard. I have tried this with UML and the MagicDraw, Enterprise Architect and Visual Paradigm tools, and it works a treat. Personally, I find generating the XMI most flexible. You can then write plug-in to generate a BPMN model from some other representation that you create programatically externally to the tool. The second approach needs a BPMN tool that has a scripting language. When you read the programatically generated XMI back into the modelling tool, you have a model. Because it is XML, you can programatically generate it in any language. This is a standard XML based format for saving UML models. If you use true BPMN tool such as MagicDraw, then you can save (and load) your BPMN model in XMI format. It's funny you should ask this, because it is something I have been working on. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |