Book a Demo

Author Topic: Dashed Line Styles on a Diagram Legend  (Read 17716 times)

Barrie Treloar

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Dashed Line Styles on a Diagram Legend
« on: May 20, 2015, 12:05:34 pm »
The Legend properties for lines does not appear to have any options for things like line style (dashed, etc) or arrows.

The only options are Fill Color, Line Color, Line (weight).

Is there something I have missed?

If I want to list these types of lines, what are my alternatives?

I'm probably looking at manually placing the things on the diagram and creating my own legend and using things like boundaries (with all parts set to the background color) to hide nodes used to display the connection line styles. Having tried this its a pain in the butt!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Dashed Line Styles on a Diagram Legend
« Reply #1 on: May 20, 2015, 04:02:27 pm »
Quote
The Legend properties for lines does not appear to have any options for things like line style (dashed, etc) or arrows.

The only options are Fill Color, Line Color, Line (weight).

Is there something I have missed?

If I want to list these types of lines, what are my alternatives?

I'm probably looking at manually placing the things on the diagram and creating my own legend and using things like boundaries (with all parts set to the background color) to hide nodes used to display the connection line styles. Having tried this its a pain in the butt!
I think you are better off creating an image of the legend you want to show and use that in the diagram.

EA is not a drawing tool.

Geert
« Last Edit: May 20, 2015, 04:02:44 pm by Geert.Bellekens »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #2 on: May 20, 2015, 05:02:33 pm »
Dashed lines and arrowheads aren't "presentation options", they are language elements with specific fixed meaning. Your audience (presumably) know the language you are using but may not know what point you are emphasizing with your use of colour.
The Sparx Team
[email protected]

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #3 on: May 21, 2015, 01:51:48 pm »
Quote
EA is not a drawing tool.
I'm with Barry here, with whiteboard and handdrawn diagrams it is a diagramming tool.
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #4 on: May 21, 2015, 03:02:46 pm »
Quote
EA is not a drawing tool.
EA is a modeling tool. The fact that it incorporates some drawing features doesn't change that. They are only there to help you highlight and clarify portions of your model.
« Last Edit: May 21, 2015, 03:03:23 pm by simonm »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Dashed Line Styles on a Diagram Legend
« Reply #5 on: May 21, 2015, 04:14:31 pm »
Quote
Quote
EA is not a drawing tool.
EA is a modeling tool. The fact that it incorporates some drawing features doesn't change that. They are only there to help you highlight and clarify portions of your model.
+1  :)

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #6 on: May 21, 2015, 04:41:36 pm »
OK.

I'm creating a legend for a BPMN diagram model.

How do I, in the legend, explain the difference between the Sequence Flow and the Message Flow.

HINT: Message Flow is depicted with a dotted line, and different arrow heads.

How do I select/depict these things in the Diagram Legend?

Andy
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Dashed Line Styles on a Diagram Legend
« Reply #7 on: May 21, 2015, 04:45:32 pm »
The idea is that you shouldn't. Those are inherent to the language you are using and are defined in the BPMN specifications.

That would be like including a dictionary reference for every word you use in a sentence.

But if you want to do it anyway you can use an image (or even better, use an existing image from the BPMN specs)

Geert

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #8 on: May 22, 2015, 06:17:40 am »
Quote
EA is a modeling tool. The fact that it incorporates some drawing features doesn't change that. They are only there to help you highlight and clarify portions of your model.
And the purpose of a legend is to assist with the clarification of a diagram.
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #9 on: May 22, 2015, 06:22:26 am »
Quote
The idea is that you shouldn't. Those are inherent to the language you are using and are defined in the BPMN specifications.
And the reality is that many consumers of model outputs, e.g. Solution Architecture Descriptions, would not know what UML was if it was running down their leg, let along what the connector conventions are.
Thus Andy's note about being able to depict these in a legend is correct.
Although perhaps rather than specifying dotted lines one could specify the connector types for lines and have them depicted correctly (with arrow heads as well).

I also note however that boundaries can have various different lines, and this is useful. Again being able to describe these in a legend seems like a no brainer.
« Last Edit: May 22, 2015, 06:24:07 am by skiwi »
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #10 on: May 22, 2015, 06:29:29 am »
Superstructures 2.5 has made some steps in direction of formalizing diagrams. Legends, unfortunately, are not part of the specification. Since Sparx is OMG sponsor I recommend to extend specification in that direction and implement it ahead of their competitors.

q.

Barrie Treloar

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #11 on: May 22, 2015, 09:47:42 am »
The responses here pretty much summarize my problem.

We attach a Legend to diagrams to remind people what the symbols mean, as UML and BPMN are not as well known (or understood) as modeling authors would like.

With the Legend most people would be able to grok the diagram without having to resort to reading modeling notation specifications (which are often impenetrable barriers of text).

Admittedly we could store our Legends in our recommended best practices and then refer to that. My usual preference is to have this stuff in a secondary document that must be read with the primary document. However that war is often fought with people you just want to read the primary document, even though this means boiler plate and copied information is scattered every (and killing trees).

Putting modeling conventions into the Legend is not akin to using a Dictionary for every word in a sentence. A better analogy would be a Glossary, somewhere to highlight terms that are uncommon or specific to your project. This sounds exactly like a Legend.

My preference would be to enhance the Legend element to allow me to describe everything. It's rather limited otherwise.

Since it currently is not suitable for the task it leaves me with two options:

1) Never us a Legend
2) Use another tool to create the Legend (and image importing isn't a seamless experience)

I think I'll lean towards never using a legend and capturing that in a best practises document.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #12 on: May 22, 2015, 10:00:42 am »
Quote
2) Use another tool to create the Legend (and image importing isn't a seamless experience)
Did you know you can drag and drop an image from the file system onto a diagram?

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Dashed Line Styles on a Diagram Legend
« Reply #13 on: May 22, 2015, 10:35:46 am »
Quote
The responses here pretty much summarize my problem.

My preference would be to enhance the Legend element to allow me to describe everything. It's rather limited otherwise.
Well put.
Another option is to put in a feature request (though I don't rate our chances based on the above). Particularly suggesting using an image is unmaintainable, and the point of a model is maintainability.
By suggesting using an image there is an admission of a shortcoming, therefore it would be appropriate to remedy it.

PS. Gosh, look at this
Change look and feel of legends
« Last Edit: May 22, 2015, 10:46:20 am by skiwi »
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64