Optional
additionalApply additional processing to the XML attributes in the BPMN source.
When defined, this function is called after the bpmn-visualization
attribute processing.
You can use it to perform extra entities decoding. This can be done by using libraries like https://www.npmjs.com/package/entities.
import { decodeXML } from 'entities';
const parserOptions: ParserOptions = {
parser: {
additionalXmlAttributeProcessor: (val: string) => { return decodeXML(val) }
}
}
Optional
disableIf true
, disable the console logs produced by the parser.
Configure the BPMN parser.