Book a Demo

Author Topic: Creating a chart showing the number of Use Cases, Activity Diagrams, BDDs, etc.  (Read 3756 times)

aguevara

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
I have been able to create a chart showing the number of artifacts/elements created by each modeler updating the model. That works very well.

Now, I would like to know if there is a way to create a chart showing the number of Use Cases, Activity Diagrams, Sequence Diagrams, BDDs, etc. in a diagram.

I have a model which includes several models within it; it would be great if I could graph the above by individual model.

I have SQL statements retrieving the data, but would rather see it as a graph.

Thanks in advance,
Angelo

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Hi Angelo,


Well it can be done in principle. But there's no macro to refer to "this diagram", so each such graph would have to be set up manually with a hard-coded reference to the diagram it's showing information for.

I assume you've been looking in t_object to retrieve information about elements. To match a diagram to an element, you go through t_diagramobjects. An element's presence in a diagram is represented by a row in t_diagramobjects where t_diagramobjects.Diagram_ID = t_diagram.Diagram_ID and t_diagramobjects.Object_ID = t_object.Object_ID.

So if you've got SQL statements which retrieve what you want, just add something like the above to restrict the selection to a specific diagram.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.