[
https://issues.redhat.com/browse/DROOLS-5254?page=com.atlassian.jira.plug...
]
Tiago Dolphine commented on DROOLS-5254:
----------------------------------------
Hi [~roger600] [~karreiro] the SVG generation basically is a wrapper on the Canvas
Context2D, so it generates the SVG based on the current drawn Canvas, all elements that
are on the canvas should be on the SVG as well.
[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)