Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Mire123 on June 05, 2017, 04:55:05 pm
-
Is it possible to provide for example an XML file to Enterprise Architect and then it automatically creates a diagram ??
-
No.
q.
-
No.
q.
Well, you could create a diagram in one repository and package, export the package and then import into another repository. ;D
Paolo
-
I rather was that short because of "XML". I mean "XML"??? That could be anything.
q.
-
I rather was that short because of "XML". I mean "XML"??? That could be anything.
Indeed.
Though flying on that height of abstraction he could write an addin/script or external tool which parses the XML and creates a visual representation of the content. Or transform the XML to XMI via stylesheets.
If there is content there is always a way to process it somehow.
He never said it should work out of the box ;)
Oliver
-
From the OP's word "automatically" I would guess for most people to mean "out of the box".
q.
-
From the OP's word "automatically" I would guess for most people to mean "out of the box".
In that case our definition of "automatically" differs. For me that implies using the automation interface ;)
Oliver
-
Not sure if this is what is wanted but you can create an example diagram in Sparx EA then export the package it is in to XMI. If you have an MDG you can add a reference to that XMI with the example diagram and use the wizard feature to create a copy of the example in a similar fashion to Core modelling use case. I did something similar with all the ArchiMate Viewpoints and the entry in MDG was something like this
<ModelTemplates>
<Model name="Viewpoints" description="Examples of viewpoints for Enterprise Architecture" location="Viewpoints.xml" default="yes" icon="34" filter=""/>
</ModelTemplates>