Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: youri on April 30, 2014, 11:36:09 pm
-
Hi there EA Users,
When using the diagram data from the archi ea xmi export then coordinates are a bit of..
See image:
(http://i57.tinypic.com/2howf8i.png)
The red 'blocks' are read from the XMI file (see code below):
<element geometry="Left=649;Top=118;Right=739;Bottom=188;imgL=649;imgT=118;imgR=739;imgB=188;" subject="EAID_3AC21F7C_3792_41ab_8064_E5C4630C7C5A" seqno="1" style="DUID=A71E2B56;HideIcon=0;"/>
The block uses the attributes: Left, Top, Right, Bottom (same as imgL ect.).
Is there some workaround inside EA to fix this problem?
-
The coordinates listed aren't meant to by the coordinates of a saved image.
What you are seeing would correspond to padding around the elements and extra space for the title image.
-
The coordinates listed aren't meant to by the coordinates of a saved image.
What you are seeing would correspond to padding around the elements and extra space for the title image.
Hi, and thanks for your reply.
Are the padding values set in the XMI export?
-
No, the purpose of the XMI is to provide information for round-trip. Not to document what you are seeing in a saved image. It's also not that simple because the image may or may not contain a diagram frame.