Book a Demo

Author Topic: Virtualized Connector End - No shapescript  (Read 3887 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Virtualized Connector End - No shapescript
« on: May 17, 2016, 05:19:46 pm »
When you virtualize a connector end, the "doppelganger" diagram object - ISN'T.  The shapescript assigned to the original item is NOT processed.

Reported,
Paolo
« Last Edit: May 17, 2016, 05:21:50 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Virtualized Connector End - No shapescript
« Reply #1 on: May 18, 2016, 03:55:23 pm »
When you virtualize a connector end, the "doppelganger" diagram object - ISN'T.  The shapescript assigned to the original item is NOT processed.

Reported,
Paolo
The help system says that: "The system adds a simple rectangle containing the element name and with the element fill color to the connector end, with no other connectors on it."

It doesn't do that...  It seems to drawnativeshape() - which is the REAL problem.  If it drew a simple rectangle, it might not be so bad.  Currently, however, it adds the native shape which contains additional decorations (depending on the element type) to make the two versions of the element quite different (confusingly)

I still can't understand why the existing shape definition for the element can't be used (perhaps with a simple additional decoration to indicate it's a doppelganger).

[Edit: Speaking of decorations for a doppelganger, I note that the "Composite diagram" chain link decoration is NOT visible on the doppelganger (and one could quite well argue that it shouldn't be); so there's a piece of rendering real estate that is available on the doppelganger and one could place an appropriate glyph there...   ;)]
« Last Edit: May 18, 2016, 04:11:22 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!