How to proceed if I want to have my custom XML source model? #1540
Replies: 1 comment
-
Hi @atejshee-tibco, If you want to use an XML file as source model for your GLSP language you have to implement a custom SourceModelStorage1. So in your case instead of a Then simply configure your SourceModelStorage in the diagram module. Footnotes |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need the GLSP to render nodes and/or transitions based on a custom XML model (consider a simple example XML model mentioned ahead).
With this custom XML as the source model, I want to create a diagram that would depict these details in the form of nodes (as shown in the picture ahead).
I want to modify the existing node-json-theia example as node-xml-theia, which will take this custom XML as the source model.
I read the documentation which suggests the steps, however, how to proceed/begin with it, if I want to create the gmodel from this custom XML?
Would the interpretation of this XML model to GLSP understandable model be same as it is for the JSON model, or does it need to be handled in some other way?
Would really appreciate any help/pointers on this.
Beta Was this translation helpful? Give feedback.
All reactions