Nutella Pancake Machine

    @bpmn-io/add-exporter

    0.2.0 • Public • Published

    @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

    Install

    npm i @bpmn-io/add-exporter

    DownloadsWeekly Downloads

    244

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    4.38 kB

    Total Files

    6

    Last publish

    Collaborators

    • skaiir-camunda
    • marstamm
    • beatrizmendes
    • bpmn-io-admin
    • nikku
    • pinussilvestrus
    • barmac
    • philippfromme
    • maxtru