- Issue created by @SirClickALot
- 🇩🇪Germany jurgenhaas Gottmadingen
This is very nice, thanks @SirClickALot and @MissClickalot for working on this. Really looking forward to what you're coming up with, sounds very interesting!
WRT the Camunda desktop client, we haven't spent much time on it recently, as it doesn't seem to be used by anyone. However, it should be working and from your other issues you posted recently, it sounds like it's working OK. But the format of the bpmn_io modeller and the Camunda modeller are slightly different and therefore, each model knows about its creating modeller and will only be editable in just that and not any other one. Side note: that might be some work for the future, to migrate models from one modeller to another, eventually.
Building SVG export into the bpmn_io modeller should be possible, but we haven't looked into that yet.
What we're doing for the ECA Guide is to utilize a javascript snippet, to render a model as SVG in the browser. Maybe that would help you getting what you need? The snippet of the ECA Guide library for that task can be found at https://gitlab.lakedrops.com/drupal/documentation/eca/-/blob/main/includ...
- 🇬🇧United Kingdom SirClickALot Somerset
Thanks @jurgenhaas → ,
Sorry if I'm a bit thick on this one but when you sayWhat we're doing for the ECA Guide is to utilize a javascript snippet, to render a model as SVG in the browser.
That sounds very interesting and if we can indeed view our model as an SVG using the snippet you pointed us to then sure, that'll do us for now but I don't understand to use it.
Inspecting the rendered model on a documentation page (for example, https://ecaguide.org/library/simple/calculated_entity_field/) I can clearly see that it is an SVG and it'll work perfectly for us but how do I pass a model I've built via the Drupal UI to that snippet in order to render it?
- 🇩🇪Germany jurgenhaas Gottmadingen
You could either use that html snippet to see, how that included javascript code renders the model and do something like that locally. Or this could be used to start working on SVG export feature in bpmn_io. I'd be happy to help there, but I'm too busy this week and can't do that short term.