Book a Demo

Author Topic: How to combine legends on a diagram?  (Read 4509 times)

DeBAAT

  • EA User
  • **
  • Posts: 64
  • Karma: +2/-0
    • View Profile
How to combine legends on a diagram?
« on: February 03, 2022, 09:42:41 pm »
The use of legends is very powerful to communicate information on a large set of objects.
Sometimes, I would like to combine several values to show on a single element.
E.g. by combining the coloring of multiple legends for different attributes like Status and Department.

Another example would be the information of connector relations.
On a diagram with a number of elements, I would like to assign colors to indicate the relation with other elements.
E.g. an application can be related to one or more dataobjects while the same dataobject could also be related to one or more applications.
In the diagram I would like to show all applications with a color related to the dataobjects such that when a single application is related to three dataobjects, then I would like the application to show the three colors defined in the legend for the corresponding dataobjects.

Would this be possible?
Any suggestions are welcome.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: How to combine legends on a diagram?
« Reply #1 on: February 04, 2022, 02:04:48 pm »
You can combine multiple Legends on one diagram, BUT the properties covered must be disjoint!  IIRC, one of our diagrams has 4 Legends.   Each legend looks a one property AND the mechanism of the legend needs to be disjoint also.

What you're proposing is a second or third-order relationship which would require some background processing to establish the property value on that diagram and a mechanism to respond to it. Legends aren't currently designed for that.  I suspect you'd need User Specified Diagram Properties and a Shapscript to respond to it.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!