Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: BMWTouring on December 13, 2014, 11:17:50 pm

Title: Graphical Composition
Post by: BMWTouring on December 13, 2014, 11:17:50 pm
I was using BizzDesign and they can import data and turn it with xslt to a graphical composition. So not placing objects on the diagram canvas on top off each other but clustered. Like a domain which contains objects. Like objected mapped on a template.

So:
(http://i995.photobucket.com/albums/af76/BMWTouring/EA/GC1_zps1946cabf.jpg)

Not:
(http://i995.photobucket.com/albums/af76/BMWTouring/EA/GC2_zps3ccefbac.jpg)

Can EA do this??
Title: Re: Graphical Composition
Post by: qwerty on December 14, 2014, 12:34:29 am
What do you mean by "import data"? Bills of your plumber, wheat grains, something else?

q.

P.S. The picture came up after my reply but it doesn't make things clearer.
Title: Re: Graphical Composition
Post by: BMWTouring on December 15, 2014, 06:17:07 pm
When I import data in Enterprise Architect I want it to be clustered on the Diagram as shown above. The tool BizzDesign has an option to do this. In Enterprise Architect the elements and objects are "thrown" on the Canvas and on each other. But can they be clustered and placed "inside" some sort of "Grouping" element?

What's not to understand with the Diagrams above? One has elements connected with some other elements. And the other places the elements inside some "cluster" elements....
Title: Re: Graphical Composition
Post by: qwerty on December 16, 2014, 12:14:07 am
I still don't know [highlight]what[/highlight] you import. I see well the difference between the diagrams.

q.
Title: Re: Graphical Composition
Post by: BMWTouring on December 16, 2014, 02:29:29 am
L-Matrix as import
---------------------

X-Ax: Clusters
Y-Ax: Entities

Crossreference: Type relationship (so the RelationshipMatrix but then as import?)
Title: Re: Graphical Composition
Post by: qwerty on December 16, 2014, 05:01:05 am
Could you be a bit more wordy in what that import would be. A CSV file?

q.
Title: Re: Graphical Composition
Post by: BMWTouring on December 16, 2014, 07:35:28 am
I do not care what the import format should be really. Does CSV give this functionality than CSV it should be.
Title: Re: Graphical Composition
Post by: qwerty on December 16, 2014, 10:12:54 am
No, it doesn't. If you want this format then you can script that. It's fairly easy. I just needed to know how you wanted to get the data into EA. But if you don't care, the write a script or an add-in. This is the best approach.

q.
Title: Re: Graphical Composition
Post by: BMWTouring on December 16, 2014, 07:03:20 pm
True. But that script isn't there yet?
Title: Re: Graphical Composition
Post by: qwerty on December 16, 2014, 09:21:28 pm
No. You would have to write that for yourself. The most difficult part would be to read your input file so you can stuff it into EA. Likely you need to recognize the structure so it can create the structure we see in your diagram. Once you have that it's fairly easy to create to above diagram layout.

BTW. The import can reflect the structure in both the browser and the diagram. Basically you will have embedded elements rather than relations.

q.