Hello,
I have task to generate class diagram in EA for existing java code. The best plan is to generate some file and import diagram from it. Model is described in OpenApi, so I can transform it into any format. Only problem i have is to find out file format for import.
Then I tried to find out how I can import model into EA. I create new project and sample diagram from template “Basic Class Diagram with Attributes”. Then I tried to export and import “Basic Class Diagram with Attributes” using different approach. My goal find out file format from example and make sure I can import my model then.
Experiment was: export model, then import, make sure they are identical(format not important, at least base properties, objects , it's types, attributes, associations)
Export/Import CSV.
Set field “Types” empty, then Export to CSV
expected result: file contains all objects, classes, attributes and associations.
actual result: file contains Class objects only
Export/Import using XSD
Export to XSD, then Import same file to different project.
expected result: same diagram
actual result: new diagram is different. It contain <<XSDDocumetType>> objects, not classes as original one.
EA 15.2
Do you have an Idea what I make wrong here?
Best regards
Yulia