UNPKG

bpmn-moddle

Version:
16 lines (11 loc) 349 B
const { findProperty } = require('./helper'); module.exports = async function(results) { const { elementsByType } = results; let model = elementsByType[ 'cmof:Package' ][ 0 ]; // remove associations model.associations = []; findProperty('BPMNEdge#messageVisibleKind', model).default = 'initiating'; return model; };