How to use the dmn-js/lib/util/SelectionUtil.getEntriesType function in dmn-js

To help you get started, we’ve selected a few dmn-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zeebe-io / zeebe-modeler / client / lib / editor / diagram / control.js View on Github external
modeler.on('selection.changed', function(evt) {
    var activeEntriesType;

    if (!isNotation(diagramFile, 'dmn')) {
      return;
    }

    activeEntriesType = getEntriesType(evt.newSelection);

    menuUpdater.update('dmn', {
      selection: activeEntriesType
    });
  });

dmn-js

A dmn toolkit and web modeler

SEE LICENSE IN LICENSE
Latest version published 1 month ago

Package Health Score

84 / 100
Full package analysis