[
https://issues.redhat.com/browse/DROOLS-5254?page=com.atlassian.jira.plug...
]
Roger Martinez commented on DROOLS-5254:
----------------------------------------
Hey [~tari_manga] [~manstis]
As far as I remember the actual SVG generation only takes care about the graph /
representation itself, so I'm pretty sure it does not export any kind of
"expressions" or any specific field related information in the SVG. The main
entry point for the "export to SVG" feature is
[
here|https://github.com/kiegroup/kie-wb-common/blob/a14db66a0db9bca8be5ad...],
so feel free also to take a deeper look as well.
PS: Maybe are you thinking on the "process runtime views", where the SVG for the
process appears with other KPI's like the number of process instances, on each flow
activity? If so, let you know that the KPI's information is not exported in the SVG
declaration by the process editor, it's something added on top by the runtime view UI.
Just for the records guys.
PS: Anyway lemme double check with [~tdolphine] - plz [~tdolphine], do u remember if
we're doing something similar or just exporting the process representation? (Sorry for
bothering, but maybe you just remember something...)
Thx!
[DMN Designer] Generate SVG for use in Swagger documentation
------------------------------------------------------------
Key: DROOLS-5254
URL:
https://issues.redhat.com/browse/DROOLS-5254
Project: Drools
Issue Type: Feature Request
Components: DMN Editor
Affects Versions: 7.36.0.Final
Reporter: Matteo Mortari
Assignee: Guilherme Gomes
Priority: Minor
Labels: drools-tools
{quote}
It'd be nice to have the ability to generate SVGs for a DMN XML model (including
graph and boxed expressions) using a utility class/function that does not require the
editor to be deployed or running. The resulting SVG would be used in the Swagger
documentation.
{quote}
Apparently the _process_ people have been looking into something similar for processes;
so it might be worth checking with [~roger600] first as whatever DMN does may simply
follow on from BPMN2/CM.
There is possibly an existing DMN JIRA for a similar requirement (as, IIRC, "Export
as SVG" only generates SVG for the graph at present and not the boxed expressions).
--
This message was sent by Atlassian Jira
(v7.13.8#713008)