Coder Social home page Coder Social logo

deyili / flowable-bpmn-intellij-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from valb3r/flowable-bpmn-intellij-plugin

0.0 0.0 0.0 4.61 MB

Flowable, Activiti (6.x), Camunda BPMN engines process editor plugin for IntelliJ. Pure Kotlin (and some Java)

Home Page: https://plugins.jetbrains.com/plugin/14318-flowable-bpmn-visualizer

License: MIT License

Java 0.34% Kotlin 99.66%

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 or Class property directly to bean/function/class in code
  3. IntelliJ refactorings propagation to backing XML file of the process (i.e. rename bean)
  4. Jump from an element to the underlying XML
  5. BPMN process 'debugging' by allowing to see steps (and their order) done for latest process execution directly in plugin

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

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

valb3r avatar v20stepanenko avatar dschulten avatar

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.