bpmn-moddle
Version:
A moddle wrapper for BPMN 2.0
16 lines (11 loc) • 349 B
JavaScript
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;
};