@bpmn-io/element-templates-icons-renderer

    0.2.0 • Public • Published

    @bpmn-io/element-templates-icons-renderer

    CI

    A bpmn-js extension to render element templates icons.

    Screenshot

    Use Extension

    Install via npm:

    npm install @bpmn-io/element-templates-icons-renderer
    

    Use in your bpmn-js powered editor:

    import ElementTemplatesIconsRenderer from '@bpmn-io/element-templates-icons-renderer';
    
    const viewer = new BpmnViewer({
      additionalModules: [
        ...,
        ElementTemplatesIconsRenderer
      ]
    });

    In case you want to model with the element template icons, make sure you include the underlying zeebe-bpmn-moddle descriptors.

    import zeebeModdle from 'zeebe-bpmn-moddle/resources/zeebe.json';
    
    const modeler = new BpmnModeler({
      additionalModules: [
        ...,
        ElementTemplatesIconsRenderer
      ],
      moddleExtensions: {
        zeebe: zeebeModdle
      }
    });

    Run locally

    To run the renderer example, execute:

    npm start
    

    Resources

    Install

    npm i @bpmn-io/element-templates-icons-renderer

    DownloadsWeekly Downloads

    744

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    6.9 kB

    Total Files

    7

    Last publish

    Collaborators

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