How do you create a Reports diagram in Enterprise Architect? - enterprise-architect

I am trying to create a Reports diagram with a model document and report specification in Enterprise Architect. The embarrassing part of this is that I've done this before, but can't work out how I did it. And I didn't take notes which I probably should do since this is something like a once every 2 years task for me.
In an older EA project, I have model document w/ custom templates in a reports diagram that will generate a data dictionary. Works great and I want that same thing for an EA project for a different, unrelated project.
But I can seem to figure out the first step, which is that Reports Diagram.
I am using version EA 13.0.1307.

Make sure you have the required MDG technology active.
You need the Core Extentions MDG to be able to create documentation diagrams
Create a Documentation Diagram
When creating a new diagram select Extented from the left pane, and Documentation from the right pane
Now the toolbox should show the elements you need to create your virtual document.

Related

How to automatically generate Sequence diagram for NUnit project using Sparx Enterprise Architect

Hi How do we Autogenerate Sequence diagrams using Enterprise architect software? I have gone through article http://blog.lieberlieber.com/2012/03/13/tutorial-nunit-and-sequence-diagram-recording-in-enterprise-architect-9-3/ but in that blog, its not shown how to generate diagrams using NUnit project. He has mentioned that we could do using nUnit, but its not explained how to do. Also is there any way to generate same diagrams using SpecFlow project?
Thanks in advance.
Sparx EA uses debug symbol output to identify sequences of calls between in-memory objects and build a sequence diagram, e.g. from the call stack. To leverage this you need to attach EA into a process that is emitting debug symbols (in a similar way to how you might attach an IDE into a process to debug it) and use the EA 'debug' tools to add breakpoints, step through lines and so on. How you get hold of these tools depends on the version of EA that you're using (ribbon, menus etc often get changed between versions), but somewhere you will find the Debugger window. From there just follow your nose.

Adding combined fragments in UML Designer for Eclipse

I'm using the latest version of UML Designer (7.1) for Eclipse. I have to create a Sequence Diagram, but in the palettes there are no combined Fragments. All I have are actors and sync/async messages. In some tutorials I've seen seen palettes with comb. fragments.. But I don't have them. How is it possible?
The combined fragments are not implemented in UML Designer and there is no plan to implement them at the moment.
As UML Designer is based on Eclipse Sirius, it is possible to do it and maybe you saw the same kind of features in another Sirius based modeler.
If you are interested in sponsoring us to implement this feature do not hesitate to comment the existing issue :
https://github.com/ObeoNetwork/UML-Designer/issues/175

Generate full class diagram using GraphViz and Doxygen

I'm currently working on my internship, and for the company's sake I decided to just go ahead on the programming work. For my current internship that seemed to fit better than to create all kinds of diagrams no one gets or uses.
Now I ran into a problem though. 4 weeks of internship and 50 java-classes later my school decided they want to see a class diagram. I've already got doxygen set up with GraphViz to generate partial class diagrams, with the focus on only one of the classes and it's associations. But what I wonder is, is it possible to generate one class diagram containing all relations from all classes? Or am I gonna have to try to convince my school that this way the class diagrams have better readability?
The short answer is that this is not possible. Doxygen parses the code and includes only classes in the diagrams which are in any direct or indirect relationship with the documented class.
A general class diagram containing all classes and their associations is not generated by doxygen.
Play araound with the diagram options of doxygen to see with graphs make sense for you (either using the "doxywizard" [Wizard tab -> Diagrams or Expert tab -> Dot] or as I prefer editing directly the doxyfile).
I don't believe that a class diagram with more than 50 classes makes sense, because this would result in a hard to read diagram which is more confusing than helping. (Generally it might be better to organize your code in packages which you might document using the grouping feature of doxygen. In that case you could use the collaboration diagrams to show more high level relations between the packages.)
Another approach might be using a UML/CASE tool to generate UML diagrams from your code (e.g. Enterprise Architect from Sparx Systems, you could import your code and let the tool generate class diagrams out of it). You could include such generated graphs by exporting that graphs as picures and including that pictures in your doxygen generated documentation using the \image tag.
I hope this helps.

How can i generate domain model diagrams, and documentation

I imported my project files into Enterprise Architect, under the Domain Model section. The program imported the files correctly, but it did not create domain model diagrams, so i can generate documentation about it, but it is empty.
If i imported the project files under the Class model section, class diagrams creates, and i able to generate documentation correctly. But i need the Domain Model.
So, how can i generate domain model diagrams, and a correct documentation with them?
There's no point in having EA generate diagrams for you (although that is possible as well). The only thing that will do is create huge, unreadable "wallpaper" diagrams.
You better create the diagrams yourself.
Just add a diagram in a package and start dropping classes onto it.
Once you have usable diagrams you can generate your documentation.

netbeans 6.1 - reverse engineer java source code to UML class diagrams

i was using netbeans 7.1.2 and it didn't have any UML plug in capabilities and now i have had to resort to netbeans 6.1 and i already have two classes from which i would like to create UML Class diagrams but the reverse engineering option yields no results. I cannot generate any class diagrams. Does anyone know how to utilize the UML plug in to reverse engineer source code and create class diagrams.
This isn't possible anymore I think, I looked for it as well and found nothing but that was a year ago. Something might have happened since.
Check out EIDOS_UML, it's a community effort to recreate the UML capabilities I think, don't know the current status of it.
I hope you have followed the procedure correctly to generate the class diagram:
Right Click the Project (or select the specific packages or java files you want) then select Reverse Engineer option in the right click menu, this will generate model based on the selection. This is a necessary step before creating diagrams.
Then browse the model and select the package (or all the classes) for which you want Class Diagram, right click and select Create Diagram from Selected Elements...
Select diagram type (in this case "Class Diagram"), give a name and click finish.
I have tested it in both Netbeans 6.1 and 6.5, and it works fine.
Hope this solves your problem.