archi icon indicating copy to clipboard operation
archi copied to clipboard

[Feature Request] Diagram Legend Generator

Open Petrolevb opened this issue 6 years ago • 2 comments

The idea of the feature would be to automatically generate a legend box with all kind of element and relation in the current view. This include different color scheme as well

For instance, 2 Application Components with two different colors would generate two different elements inside the legend part Possibilities :

  • All the legend can be made of visual element, thus not beeing referenced in the Model
  • Instead of adding core element to generate the legend, Note as color boxes might work
  • A connection can be fully customized between two blank notes, and appear as a right Relation
legend archi v1 legend archi v2

Petrolevb avatar Sep 14 '18 12:09 Petrolevb

I agree with this request, I have to spend a lot of time making legends for each view since most audiences I have to present to does not know or understand the notation.

image

It takes a lot of time to edit this for each view and I have to do it like this, moving the relationship anhor elements to the back of the Note when done...

image

theunsfvo avatar Jun 12 '19 10:06 theunsfvo

Hi,

There is no plan for that in the near future, but this could be done through a jArchi script and some tricks:

  • a script can easily look at each elements and either add a note or a predefined (single) element of that type in the model (ie. one that would have its name as label and would never be used in a view, except of course in the legend box)
  • as Grouping can be the source or target of any relationship, having one single predefined grouping is enough to be the source and target of any needed relationship. A script can easily manage this and set those Grouping to 100% transparent, making them disappear.

jbsarrodie avatar Jun 20 '19 11:06 jbsarrodie