Book a Demo

Author Topic: Differences in Object Rendering v9 vs V12?  (Read 5837 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Differences in Object Rendering v9 vs V12?
« on: August 20, 2015, 01:24:27 pm »
As I 've mentioned many times here now, we are running two versions of EA.  V12  for manual work and V9 for large-scale batch oriented automation.   The principle use for the v9 batch processing is our Automatic Neighborhood diagrammer.  Processing time per element is about 7x faster than v12 (on average).

Amongst the things the diagrammer does is to create a diagram for each element processed , making the element the "Root Vertex" of the diagram and showing it's direct links.  The Root Vertex is rendered with any Notes displayed.  Some f the the notes are very long - thousands of characters.  The diagrammer tries to find a compromise between height and width of the Root Vertex, based upon the content of the Note.

We've noticed that there a discrepancy between the way v9 displays the same object and v12 displays the same object.  V12 seems to use less space to display the same text (notionally, both Arial 8, for example).  Since I've been off-grid for a few years, I'm not abreast of the changes in the renderer.

Can someone confirm that we should be seeing what we are seing?  Can anyone shed some light into why we are seeing what we are seeing - that is what mechanisms are different in the two renders.  Once we understand Why, we can see what remedials/mitigations we can make.

TIA,
Paolo
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: Differences in Object Rendering v9 vs V12?
« Reply #1 on: August 20, 2015, 05:55:15 pm »
IIRC they worked on the renderer in the meantime. The options let you select which renderer to use. Not sure about the when.

q.
« Last Edit: August 20, 2015, 05:55:30 pm by qwerty »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Differences in Object Rendering v9 vs V12?
« Reply #2 on: August 20, 2015, 07:11:05 pm »
Quote
IIRC they worked on the renderer in the meantime. The options let you select which renderer to use. Not sure about the when.

q.
Thanks Thomas, but the three rendering options were already in v9.  I'm using the same option in both - "Enhanced - 1".

My question is about the outcome of the same renderer in v9 versus v12.

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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Differences in Object Rendering v9 vs V12?
« Reply #3 on: August 21, 2015, 08:14:14 am »
Yes, the note rendering was tweaked. And since the tweak made the text display in less space it wasn't a concern for ruining diagrams as part of the upgrade process.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Differences in Object Rendering v9 vs V12?
« Reply #4 on: August 21, 2015, 09:57:44 am »
Quote
Yes, the note rendering was tweaked. And since the tweak made the text display in less space it wasn't a concern for ruining diagrams as part of the upgrade process.
Thanks Simon,  at least that confirms what we're seeing.

I note that other parts were also "tweaked" - the spacing between the feature compartment and the notes compartment appears to be smaller on the feature side.

We note that the API reports the size of the diagram shape on the disk, NOT the size on the screen (over the years we've learned to live with THAT anomaly).  Do you know if the API diagram layout uses the disk size or on-screen sizes to layout the diagram?

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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Differences in Object Rendering v9 vs V12?
« Reply #5 on: August 21, 2015, 11:57:03 am »
The API does the same thing as the UI, which is use the current size.

If you want to ensure the diagram is saved with the calculated size, force a draw, make a change anywhere and save.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Differences in Object Rendering v9 vs V12?
« Reply #6 on: August 21, 2015, 06:11:24 pm »
Quote
The API does the same thing as the UI, which is use the current size.

If you want to ensure the diagram is saved with the calculated size, force a draw, make a change anywhere and save.
I DO actually know that Simon... :)

I'm trying to figure a way to calculate the vertex size with v12 parameters while running under v9 and NOT have it update the size "on disk" with the v9 size after a re-layout of the diagram.

I think I have a Catch-22. :(

Paolo
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: Differences in Object Rendering v9 vs V12?
« Reply #7 on: August 21, 2015, 07:21:53 pm »
You can define a constraint: Notes may only be created under V9  ;)

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Differences in Object Rendering v9 vs V12?
« Reply #8 on: August 22, 2015, 11:24:35 pm »
Quote
You can define a constraint: Notes may only be created under V9  ;)

q.
As they say here in Oz:  "It's a joke, !"

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