Book a Demo

Author Topic: Importing diagrams via XMI  (Read 3455 times)

Pierre Nissels

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Importing diagrams via XMI
« on: May 28, 2014, 11:32:59 pm »
I have an issue when looking at the layout of class diagrams imported from a generated XMI file.
The XMI file is not exported from EA, but is generated by a java program I have written, taking its data from the repository of another vendor.

Classes are correctly imported, with locations and dimensions.
Associations are correcly imported, with roles and multiplicities.
Association lines are imported as “orthogonal square” with all their joints (or corners) correctly located. Some of them are perfectly drawn, but some of them are obviously drawn the bad way round, with unwanted lines connecting the opposite classe to the first and last joints in the “Geometry’s Path”.
I assume one of the two classes as being the the start, specified with “SOID=” (corresponding to its DUID) and the other as the end, specified with “EOID=” (corresponding to its DUID).
The joints are listed starting with the start class towards the end class.
There is obviously something I miss to make it work as it should.
Where can I found the specifications for the attribute values in the
xmi:Extension / diagrams / diagram / elements / element tag ?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Importing diagrams via XMI
« Reply #1 on: May 29, 2014, 09:23:42 am »
There are no formal definitions for anything in the xmi:Extension. What you see there corresponds to columns found in the EA's database.