Code Monkey home page Code Monkey logo

flowable-bpmn-intellij-plugin's Introduction

Build Status codecov Gitter Made in Ukraine

Stand With Ukraine

What is this

This project provides BPMN modeler plugin for these BPMN-engines:

Key goals are: process editing integration into IntelliJ, code navigation support between BPMN diagram and your classes including Spring beans.

Currently, it is work-in-progress.

Questions and propositions

Don't hesitate - ask or tell your opinion in gitter:

Gitter

Key features

  1. BPMN process editing (BPMN modeler) - adding/removing elements, changing their properties, undo/redo, bulk drag-n-drop, bulk removal of elements
  2. Code navigation - jump from Delegate Expression (IntelliJ Ultimate) or Class (IntelliJ Community) property directly to bean/function/class in code
  3. IntelliJ refactorings propagation to backing XML file of the process (i.e. rename bean) (IntelliJ Ultimate)
  4. Jump from an element to the underlying XML (IntelliJ Ultimate)
  5. BPMN process 'debugging' by allowing to see steps (and their order) done for latest process execution directly in plugin (IntelliJ Ultimate)

Installation

You can install the plugin from JetBrains plugin repository (just search for Flowable BPMN visualizer or Activiti BPMN visualizer or Camunda BPMN visualizer depending on engine you need ) like any other plugin.

Bleeding edge: You can install the latest build of the plugin from ZIP file provided at releases page of this repository or from alpha-channel of JetBrains plugin repository.

From GitHub releases

Install the latest plugin version plugin from the releases page: Releases page

NOTE: The plugin requires 'Ultimate Edition' of IntelliJ for code navigation

Installation guideline video:

Install plugin

From IntelliJ plugins alpha-channel repository

  1. Open File -> Settings -> Plugins
  2. In opened window, click on Gear button (Manage plugins, repositories) -> Manage Plugin Repositories
  3. Add Alpha releases channel - https://plugins.jetbrains.com/plugins/alpha/list to repositories list
  4. Now you are able to list and install Flowable bpmn visualizer plugin directly from plugin search window

IntelliJ docs on this topic:

How to configure and use alpha channel

Building from sources

If you want to build plugin directly from sources (i.e. from master branch HEAD for bugfixes), simply execute in project root this command:

./gradlew clean buildPlugin

It will create flowable-intellij-plugin/build/distributions/bpmn-intellij-plugin.zip file that contains plugin distributive. You can install it by following steps here.

If you want just to run the plugin in the sandbox you can execute

Flowable:

./gradlew clean :flowable-intellij-plugin:runIde

Activiti:

./gradlew clean :activiti-intellij-plugin:runIde

Camunda:

./gradlew clean :camunda-intellij-plugin:runIde

Workflow

Plugin usage:

Basic usage

Work with plugin

Adding new elements

Work with plugin

BPMN-Java-XML 'gluing' usage (IntelliJ Ultimate, only classes for IntelliJ Community)

Work with plugin

Debugging BPMN process with the plugin

Debug BPMN with plugin

Navigation/editing guideline

  1. To open BPMN diagram in the plugin - left mouse button on XML file and select View BPMN Diagram
  2. To move diagram up/down/left/right - click mouse wheel and start moving your mouse - diagram will follow (like dragging with mouse wheel) or Shift + Left Mouse Button
  3. Zoom in/out - mouse wheel rotation
  4. To add a new element - click with right mouse button and popup menu with new element selection will appear
  5. To Copy or cut element(s) - select elements you want to copy/paste and click with right mouse button on them to see popup menu, there select cut or copy menu item
  6. To Paste element(s) - (copy/cut before) click with right mouse button on the desired location and select 'Paste' popup menu item
  7. To select element click on it with mouse

FAQ

Q: My files for Activiti/Flowable engine have .bpmn extension and not bpmn20.xml, how can I open them.

A: Navigate to File > Settings > Tools > Activiti BPMN Plugin config (or Flowable BPMN Plugin config). In the field Supported extensions add bpmn, so that field value is bpmn20.xml,bpmn. Now you should be able to open it. Animation to configure plugin for opening files with custom extension

Q: Some feature/bug was closed, but I can't find new release.

A: Check this link for the status of your feature. If it is in 'Done' (or Closed) column this doesn't mean it is released - it must proceed to next columns to appear in any kind of release-artifact. After a feature is 'Closed' it will wait for GitHub release at Releases page and after that it will be published to JetBrains marketplace. It can take up to two days for plugin to be available on JetBrains marketplace.

Technical details

Architectural diagrams

Plugin modules

Modules diagram

Flowable XML subset support

View summary table
XML element Supported
adHocSubProcess Y
association
boundaryEvent P
bpmndi:BPMNDiagram Y
bpmndi:BPMNEdge Y
bpmndi:BPMNPlane Y
bpmndi:BPMNShape Y
businessRuleTask Y
callActivity Y
cancelEventDefinition P
compensateEventDefinition P
completionCondition P
condition P
conditionalEventDefinition P
conditionExpression Y
dataObject
definitions
documentation Y
endEvent Y
errorEventDefinition P
escalationEventDefinition P
eventBasedGateway P
exclusiveGateway Y
extensionElements
flowable:eventListener
flowable:executionListener
flowable:field Y
flowable:in
flowable:out
flowable:string Y
flowable:value Y
inclusiveGateway Y
intermediateCatchEvent P
intermediateThrowEvent P
loopCardinality
message
messageEventDefinition
multiInstanceLoopCharacteristics
omgdc:Bounds Y
omgdi:waypoint Y
parallelGateway P
process P
receiveTask P
script Y
scriptTask Y
sequenceFlow Y
serviceTask Y
signalEventDefinition P
startEvent Y
subProcess Y
terminateEventDefinition P
text P
textAnnotation P
timeDate P
timerEventDefinition P
transaction Y
userTask Y

Legend:

Y - Mostly or fully supported

P - Partially supported

Blank - Mostly unsupported

flowable-bpmn-intellij-plugin's People

Contributors

dschulten avatar v20stepanenko avatar valb3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flowable-bpmn-intellij-plugin's Issues

Support for sub process (transaction) - XML and UI

Add support for

 <subProcess id="collapsedSubProcess" name="Collapsed subprocess name" flowable:async="true">
            <documentation>Collapsed sub process docs</documentation>
            <multiInstanceLoopCharacteristics isSequential="false" flowable:collection="COLLECTION" flowable:elementVariable="ELEM_VAR">
                <loopCardinality>12</loopCardinality>
                <completionCondition>completionCondition</completionCondition>
            </multiInstanceLoopCharacteristics>
        </subProcess>

Multi-selection of BPMN elements

Is your feature request related to a problem? Please describe.
Add ability to select more than 1 element using a rectangular selection area

Describe the solution you'd like
Multi-select with area-like selection tool

Demo playground repository

Is your feature request related to a problem? Please describe.
Create a demo playground repository for feature demonstration and debugging

Describe the solution you'd like
Demo GitHub repository with small project to show how stuff works

Support for extensionElements

Is your feature request related to a problem? Please describe.
Certain ServiceTask customizations like camelTask use extensionElements to supply additional properties

Describe the solution you'd like
Read/Write support for extension elements

Properly handle element ID change

Element ID change is a cascading operation and it should be handled properly

  • Property changes handling after ID updates
  • Cascading to related shapes
  • Drag references update after id changed

When changing ID default element of exclusive gateway should change too

Describe the bug
Changing element ID when it is used as default gateway reference keeps old ID

kotlin.TypeCastException: null cannot be cast to non-null type org.w3c.dom.Node
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.applyBpmnElementRemoved(FlowableParser.kt:223)
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.doUpdate(FlowableParser.kt:130)
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.parseAndWrite(FlowableParser.kt:115)
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.update(FlowableParser.kt:98)
	at com.valb3r.bpmn.intellij.plugin.events.ProcessModelUpdateEvents.commitToFile(ProcessModelUpdateEvents.kt:62)
	at com.valb3r.bpmn.intellij.plugin.events.ProcessModelUpdateEvents.addPropertyUpdateEvent(ProcessModelUpdateEvents.kt:87)
	at com.valb3r.bpmn.intellij.plugin.properties.PropertiesVisualizer$buildTextField$2.invoke(PropertiesVisualizer.kt:72)
	at com.valb3r.bpmn.intellij.plugin.properties.PropertiesVisualizer$buildTextField$2.invoke(PropertiesVisualizer.kt:17)
	at com.valb3r.bpmn.intellij.plugin.properties.PropertiesVisualizer.notifyDeFocusElement(PropertiesVisualizer.kt:61)
	at com.valb3r.bpmn.intellij.plugin.properties.PropertiesVisualizer.visualize(PropertiesVisualizer.kt:39)
	at com.valb3r.bpmn.intellij.plugin.render.Canvas.click(Canvas.kt:83)
	at com.valb3r.bpmn.intellij.plugin.MouseEventHandler.mouseClicked(MouseEventHandler.kt:23)
	at java.awt.Component.processMouseEvent(Component.java:6553)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
	at java.awt.Component.processEvent(Component.java:6315)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4899)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4721)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4721)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:739)
	at java.awt.EventQueue$4.run(EventQueue.java:737)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:974)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:912)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:844)
	at com.intellij.ide.IdeEventQueue.lambda$null$8(IdeEventQueue.java:449)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:741)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:502)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Class and expression navigation in ServiceTask

Is your feature request related to a problem? Please describe.
A quote from Flowable docs:

It is possible to configure Service Tasks in four ways:
    Use a Value Expression.
    Specifying a class that implements JavaDelegate or ActivityBehavior.
    Evaluating an expression that resolves to a delegation object.
    Invoking a method expression.

Currently, we support:
Evaluating an expression that resolves to a delegation object.

Describe the solution you'd like
Expand code navigation with:

  • Use a Value Expression.
  • Specifying a class that implements JavaDelegate or ActivityBehavior.
  • Invoking a method expression.

Handle Service Tasks with extension elements

Is your feature request related to a problem? Please describe.
We need to handle extensionElements in ServiceTask like mule, camel, etc. tasks and show those extension elements in UI (limit to shallow extension elements)

Describe the solution you'd like
Extension elements handled for:

  • business-rule-task
  • camel-task
  • decision-task
  • http-task
  • mail-task
  • manual-task
  • mule-task
  • receive-task
  • script-task
  • service-task
  • shell-task
  • user-task

Deep extension elements to be handled by:
#125

NPE on ID update then name update

Describe the bug
When ID is updated and element name afterwards NPE seem to happen occasionally.

To Reproduce

kotlin.TypeCastException: null cannot be cast to non-null type org.w3c.dom.Element
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.applyPropertyUpdateWithId(FlowableParser.kt:310)
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.doUpdate(FlowableParser.kt:133)
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.parseAndWrite(FlowableParser.kt:115)
	at com.valb3r.bpmn.intellij.plugin.flowable.parser.FlowableParser.update(FlowableParser.kt:98)
	at com.valb3r.bpmn.intellij.plugin.events.ProcessModelUpdateEvents.commitToFile(ProcessModelUpdateEvents.kt:62)
	at com.valb3r.bpmn.intellij.plugin.events.ProcessModelUpdateEvents.addPropertyUpdateEvent(ProcessModelUpdateEvents.kt:87)
	at com.valb3r.bpmn.intellij.plugin.properties.PropertiesVisualizer$buildTextField$1.invoke(PropertiesVisualizer.kt:67)
	at com.valb3r.bpmn.intellij.plugin.properties.PropertiesVisualizer$buildTextField$1.invoke(PropertiesVisualizer.kt:17)
	at com.valb3r.bpmn.intellij.plugin.properties.PropertiesVisualizer.clear(PropertiesVisualizer.kt:24)
	at com.valb3r.bpmn.intellij.plugin.render.Canvas.click(Canvas.kt:84)
	at com.valb3r.bpmn.intellij.plugin.MouseEventHandler.mouseClicked(MouseEventHandler.kt:23)
	at java.awt.Component.processMouseEvent(Component.java:6553)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
	at java.awt.Component.processEvent(Component.java:6315)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4899)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4721)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4721)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:739)
	at java.awt.EventQueue$4.run(EventQueue.java:737)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:974)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:912)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:844)
	at com.intellij.ide.IdeEventQueue.lambda$null$8(IdeEventQueue.java:449)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:741)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:502)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Plugin UI test suite

Is your feature request related to a problem? Please describe.
UI test suite

Test cases

  • Basic rendering
  • Rendering of actions for the selected element
  • Removing elements
  • Adding sequence flow element
  • Adding service task and dragging sequence on it
  • Dragging sequence element directly to target
  • Dragging sequence element to target with intermediate stop
  • Adding waypoint to a sequence element
  • Adding multiple waypoints to a sequence element
  • Dragging element with sequence elements attached
  • Renaming element ID cascades
  • Renaming element ID cascades and location is followed
  • Selecting all elements with a rectangle and dragging them
  • Selecting service task element and edge with a rectangle and dragging it
  • Removing service task works
  • Removing edge element works
  • Removing waypoint works

Support for diagram changes persistence

We need to support persistence to XML of changes done in memory

  • Drop new sequence arrows at randomized location for easy grabbing
  • Do not allow to change edge origin as it declares the type of an edge
  • Assign targetRef for sequence element on drag end if anchor exists
  • Properties persistence
  • BPMN elements added/removed persistence
  • Edge elements persistence
  • Diagram flow persistence

Improve Darcula color scheme

Describe the bug
Reduce contrast in existing Darcula theming and make service tasks look more Darcula as well

Formal expression is not wrapped into CDATA

Describe the bug
The formal expression is not wrapped into CDATA

To Reproduce
Store exclusive gateway with formal expression
the result is:

<conditionExpression xsi:type="tFormalExpression">${data.isAvailable(CONTEXT)}</conditionExpression>

conditionExpression should be CDATA

EditorTextField error highlighting

Currently, EditorTextField shows error as it expects ';' at the line end. We need to change this behavior - by i.e. switching language text field language or by customizing highlighter

Support for BPMN diagram modification

We need to add support to modify visuals of the BPMN diagram - element positions and arrows linkage + undo/redo - in memory only

  • Arrow anchors in-memory persistence after drag
  • Snap to service task anchors when dragging
  • Remove arrow anchors via menu

Support for BPMN diagram element additon/removal

We need to add support to add or remove BPMN elements using tool pane on the left of plugin screen.
With undo/redo - in memory only

  • Capability to add BPMN element
  • Capability to remove BPMN element
  • Capability to add edge element

Constrain expressions for delegate expression/class to ones that implement JavaDelegate or ActivityBehavior

Is your feature request related to a problem? Please describe.
As per https://documentation.flowable.com/latest/user/design/bpmn-editor/#service-task
Class:

The fully qualified name of a class which either implements the class JavaDelegate or ActivityBehavior.

Delegate expression:

The fully qualified name of a class which either implements the class JavaDelegate or ActivityBehavior.

Describe the solution you'd like
IntelliJ tooltips and code completion should check for the above facts

XML and UI element support - inclusive gateway

Support for:

<inclusiveGateway id="inclusiveGatewayId" name="Inclusive gateway name" flowable:async="true">
            <documentation>Inclusive gateway docs</documentation>
</inclusiveGateway>

Update diagram if XML file has changed

Is your feature request related to a problem? Please describe.
In order to support manual/3rd party editing of the underlying XML file with process definition, we need to listen for update events in IntelliJ. See:
https://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/virtual_file.html#how-do-i-get-notified-when-vfs-changes

Describe the solution you'd like
Listener for drawn XML file change that causes complete update when XML file change was detected

CI/CD setup for project

Is your feature request related to a problem? Please describe.
CI/CD pipeline to run test and publish artifacts

Describe the solution you'd like
GitHub Actions CI/CD runner

Yay! Thanks for the work!

Just wanted to say thanks for the work, ad keep it up!

You might want to add a pattern page or something where you'd get some funding :)

Sorry for polluting the issue tracker :)

Add support for subProcess XML element and UI

Add support for the nested subprocess with (without collapsed subprocess)

Tasks:

  • Correct subprocess rendering
  • Correct drag end target for elements in the subprocess
  • Support for element addition to subprocess
  • Support for element removal from subprocess
  • Support for element resizing
  • Support for subprocess dragging (cascade drag to child elements)
  • Correct propagation of added elements in XML
  • When the element is dropped in or out from subprocess, its parent should change accordingly
  • Selection rectangle should be allowed to start in subprocess
  • Prevent selection of children elements with rectangle if parent already selected
  • Adding element with right mouse button should select correct parent
  • Test with rectangle dragging in subprocess
  • Test with single selection dragging in subprocess
  • Test with subprocess dragging
  • Dumb test for XML update by resize
  • Dumb test for XML update by parent change

Gateway default flow selection

Is your feature request related to a problem? Please describe.
Add support to select default flow element of the gateway

Describe the solution you'd like
Display default outgoing gateway route and selector for it

Undo/redo functionality in the plugin UI

Is your feature request related to a problem? Please describe.
Need to complete undo/redo functionality in plugin as well

Describe the solution you'd like
Undo/redo buttons in plugin UI

Cannot undo if you do a change in the Diagram view

Describe the bug
Change something in the Diagram View and try to undo the change.

Expected behaviour
Be able to undo a change done in the diagram

IntelliJ version (please complete the following information):
IntelliJ IDEA 2020.1.2 Preview (Ultimate Edition)
Build #IU-201.7846.6, built on May 13, 2020

Display id, name and documentation for all elements

I haven't looked at the code and how everything is done.

It would be great if the id, name and documentation are displayed for every element. For example this with a user task and boundary signal.

Not sure if you are using your own parser of the XML or you are reusing the BpmnModel from Flowable. If you are reusing the BpmnModel you might benefit of not needing to do the parsing yourself and you can focus on the drawing and displaying the information.

Show name on outgoing gateway element

Is your feature request related to a problem? Please describe.
Show names on the outgoing gateway elements

Describe the solution you'd like
Names on outgoing gateway segments and gateways

Investigate possibiltiy to create markdown-plugin alike UI for Eclipse and IntelliJ

Is your feature request related to a problem? Please describe.

One other thing I noticed (not sure if it is related to this) is that the UI is not linked to the BPMN document. It is a dedicated section. Does it make sense to have it as a split view in the same section as the document? Similar to how the markdown support from IntelliJ looks like

Need to check how tightly this functionality will couple the plugin to IDE

Describe the solution you'd like
POC of markdown plugin alike rendering of BPMN diagram

Basic element type and information support

Is your feature request related to a problem? Please describe.
Add support for viewing basic information like ID and documentation for all elements. Also, add the same or similar icons for them as are used in Flowable

  • Camel task
  • Http task
  • Mule task
  • Shell task
  • Decision task
  • Sub process
  • Transaction Sub process
  • Collapsed sub process
  • Event sub process
  • Ad hoc subprocess
  • Parrallel gateway
  • Inclusive gateway
  • Event gateway
  • Intermediate timer catching event
  • Intermediate signal catching event
  • Intermediate message catching event
  • Intermediate conditional catching event
  • Intermediate throwing event
  • Intermediate signal throwing event
  • Intermediate escalation throwing event
  • End error event
  • End escalation event
  • End cancel event
  • End terminate event
  • Start timer event
  • Start signal event
  • Start message event
  • Start error event
  • Start escalation event
  • Start conditional event

Also, element attached events:

  • Boundary timer event
  • Boundary error event
  • Boundary signal event
  • Boundary message event
  • Boundary cancel event
  • Boundary conditional event
  • Boundary compensation event

Add support for nested activity expansion

We need to add support to:

  1. Imply that call activity executes some process (to be able to provide this process name)
  2. Expand and collapse the implied process within call activity

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.