About Sprotty on Theia How To Code

Hi,I have trouble with how to show diagram on theia.
I have gone through one example online: https://github.com/TypeFox/theia-xtext-sprotty-example/tree/master.
Also I have had a look at the blogpost https://medium.com/@jan.koehnlein/domain-specific-languages-in-theia-8838aee1279
I had trouble coding because we had complex ecore-model elements.About Sprotty are there any references on how to code .

[original thread by Qizewen]

cc @spoenemann @jankoehnlein