Book a Demo

Author Topic: connector shapescript: main line drawn over ends shapes  (Read 3579 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
connector shapescript: main line drawn over ends shapes
« on: February 08, 2019, 06:00:43 pm »
Hi,

I'm have difficulties writing a connector shapescript.
Whatever I do, the main line is being drawn over the source and target shapes.
I even copied the exact shapescript used by BPMN 2.0 for MessageFlow https://github.com/GeertBellekens/Enterprise-Architect-Shapescript-Library/blob/master/BPMN2.0/MessageFlow.shapeScript, but to no avail.
Here's an image that shows the problem: https://imgur.com/a/ZQbWE7E


Anyone know what I'm doing wrong?

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: connector shapescript: main line drawn over ends shapes
« Reply #1 on: February 08, 2019, 06:06:06 pm »
It seems that associations are somehow different from other connector types.

If I use the same shapescript on a dependency or realization I get the expected results.
Only with an association I seem to be having this problem.

Guess I'll have to report a bug then and use another metatype in the mean time.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: connector shapescript: main line drawn over ends shapes
« Reply #2 on: February 11, 2019, 10:52:03 am »
I reported this a fair few years ago (maybe five), so obviously it needs another report.

Associations, by their very nature, are different from other relationship types, but that doesn't mean that rendering them needs to be so different as it currently is in EA, in my view.

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

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: connector shapescript: main line drawn over ends shapes
« Reply #3 on: February 27, 2019, 07:37:12 am »
One thing I have noticed with shape scripts is that the line style affects how shape scripts are rendered. There are certain line styles that are rendered very oddly.