Giter Club home page Giter Club logo

bpmn-js-disable-collapsed-subprocess's Introduction

bpmn-js-disable-collapsed-subprocess

A bpmn-js extension which disables modeling of collapsed sub-processes.

Installation

Install via npm.

npm install bpmn-js-disable-collapsed-subprocess

Add as additional module to bpmn-js.

Modeler

var BpmnModeler = require('bpmn-js/lib/Modeler');
var disableCollapsedSubprocessModule = require('bpmn-js-disable-collapsed-subprocess');

var modeler = new BpmnModeler({
  container: '#canvas',
  additionalModules: [
    disableCollapsedSubprocessModule
  ]
});

Viewer

This extension is useless for the Viewer as it changes only the modeling actions.

Licence

MIT

bpmn-js-disable-collapsed-subprocess's People

Contributors

barmac avatar dependabot[bot] avatar marstamm avatar nikku avatar renovate[bot] avatar smbea avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bpmn-js-disable-collapsed-subprocess's Issues

Morph menu changes of Tasks should apply to call activities

Describe the Bug

Morph menu changes applied to Tasks are not applied to Call Activities.

image

Steps to Reproduce

  1. Setup this module (Camunda Platform 8 at time of writing does this)
  2. Create two Tasks
  3. Morph one to a Call Activity
  4. Check the Subprocess entries for the morph menus, they should match

Expected Behavior

image

Environment

  • OS: Win10

Do not disallow morphing a Task into an Expanded subprocess

Describe the Bug

Currently this module disables the morphing of a Task into an Expanded Subprocess. This isn't behavior that we particularly want though as expanded subprocesses are supported in platform 8 and this morphing behavior is present in platform 7

Steps to Reproduce

  1. Create a C8 bpmn diagram in the modeler (where this module is used)
  2. Try to morph a Task into an Expanded Subprocess
  3. Option is not available

Expected Behavior

The option should be available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.