0

I have a project with 2 different DSL developed with xtext. DSL B uses elements of DSL A. I added Sirius to my Editor and want to show the Elements in a digram. My issue is now, that I have to choose a root model class from DSL B. When I generate the diagram only elements of DSL type B are shown, the referenced elements of type A are not drawn. It seems when I choose one model it only resolved this model and the imported elements of DSL A are not resolved. Is there a way to set maybe the genmodel of DSL B as the root, so all elements of both ecore models can be resolved?

Cœur
  • 37,241
  • 25
  • 195
  • 267
fx88
  • 43
  • 1
  • 8

1 Answers1

0

The question is confusingly-worded but if I understand correctly, you simply need to use the 'Add' tool from the 'Existing Element' section of the palette on the right of your diagram.

user1292456
  • 778
  • 4
  • 12