Ecore Diag

It can be useful to be able to see a diagram representation of our ecore model.

If the Ecore editor is not already installed then install it: ecore diag
Because I'm using Xtext I also installed 'Sirus integration with Xtext' ecore diagram
I also installed GMF ecore diagram

Once these are installed and Eclipse is installed and restarted we can create the diagram:

To create a diagram from an '.ecore' file then right-click on the .ecore model file and click: 'Initialise Ecore Diag file' ecore diagram
I selected the root element ecore diagram
This produced the diagram ecore diagram

Alternative using Sirus

It should also be posible to produce diagram using Sirus:

To create a diagram from an '.ecore' file then right-click on the file and click: 'Initialise Ecore Diag ...' ecore diag
  ecore diag
  ecore diag
  ecore diag
   

 


metadata block
see also:
Correspondence about this page

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2023 Martin John Baker - All rights reserved - privacy policy.