You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@bpmn-io/add-exporter

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpmn-io/add-exporter

Add exporter meta-data to BPMN, CMMN and DMN diagrams

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
1.7K
12.38%
Maintainers
2
Weekly downloads
 
Created
Source

@bpmn-io/add-exporter

Build Status

Plugs into your favorite BPMN, DMN and CMMN editor and adds the exporter and exporterVersion meta-data to saved diagrams.

Usage

import BpmnModeler from 'bpmn-js/lib/Modeler';

import AddExporter from '@bpmn-io/add-exporter';


// extend the BPMN editor with the exporter module
var modeler = new BpmnModeler({
  exporter: {
    name: 'my-tool',
    version: '120-beta.100'
  },
  additionalModules: [
    AddExporter
  ]
});


// see the meta-data appear on save
modeler.saveXML(function(err, xml) {

  xml; // ... <bpmn:Definitions ... exporter="my-tool" exporterVersion="120-beta.100">...
});

License

MIT

Keywords

BPMN

FAQs

Package last updated on 19 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts