Book a Demo

Author Topic: v15.2 - How to get arcs to respond to default line width in MDG?  (Read 4905 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
We are used to being able to set the vertex rendering characteristics in the MDG definition metamodel and having them track in the diagram rendering. [1]
For example, we change the border width from 1 to 2, and the next time we load the repository, the items specified, change from width 1 to 2.

In the case of arcs, this doesn't seem possible.  Even though we set the value of "InBold" to zero (in t_connector) and  LWidth=0; (in the applicable t_diagramlinks) which according to qwerty's excellent InsideEA book should use the default value, the expected thing doesn't happen.

We recently decided to change the line width of a particular arc metatype from 1 to 2.  New arcs are width 2, existing arcs are unchanged.

We ended up having to set the LWidth value to 2 in t_diagramlinks got get the desired result.

Is it possible to have an arc behave in a consistent manner to a vertex in this regard?  Or is it a defect. [2]

Thoughts?
Reported,
Paolo

[1] That is if the rendering on a specific diagram has NOT deviated from the default rendering.
[2] I have previously reported that it is not possible via the UI to alter the local rendering of an arc.  You can only change the (supposed) "default" appearance of the line (via the dialog), but even then, the colour can change, but NOT the line width!  EAUI!
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: v15.2 - How to get arcs to respond to default line width in MDG?
« Reply #1 on: August 13, 2021, 08:09:55 pm »
I'd opt for a bug (of course...). Anyhow, I noted that when you draw an element shape the pen setting is completely ignored when using DrawNativeShape.The filling however is taken. EAUI. Us users call that bugs. Sparxians always claim that to be features.

q.