Renders one or more BPMN 2.0 process diagrams from XML strings using the bpmn-js viewer library.
BPMN — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Params are unused. Iterates over self.data_list; each row is expected to supply a BPMN XML string as its first element. Each diagram is rendered into its own viewer instance and fitted to the viewport on load. Returns an HTML fragment containing one <pre> container and inline <script> block per diagram.
Loads bpmn-js from unpkg (https://unpkg.com/bpmn-js/dist/bpmn-viewer.development.js). Each viewer instance is given a unique name derived from get_uuid() to avoid conflicts when multiple diagrams appear on the same page.