In this tutorial you will discover a special diagram generation feature dedicated to Ecore models.
This feature is very simple to use as you just have to Right click your Ecore resource and select Run as > Emf To Graphviz Transformation.
For example, with the Graphdesc Ecore model, we get the following result :