📖 English Documentation | 📖 中文文档
compileflow-idea-designer is an Idea plug-in. It allows you to easily complete the coding design and attribute editing of the compileflow engine process.
Compileflow engine open source address: https://github.com/alibaba/compileflow
XML source file preview: supports editing and previewing XML source files
Process-friendly visualization: support XML source files to Swing diagram preview, and export pictures to local
Process-friendly and editable: Support drag and drop nodes directly in the Swing diagram canvas, design process, and edit node attributes, global attributes, etc.
High-volume display of Java source code: the process will eventually be compiled into Java code for execution, and the designer supports the preview effect of XML to Java code
XML syntax error prompt: If there is a syntax error in the opened XML source file, it will be prompted in the Java source code preview area
Extensibility: can be easily extended to support BPMN protocol
Design the business logic flow chart, and export the picture to save; Design and edit flowcharts, generate XML source files supported by the compileflow engine; Preview existing XML source files
Provide an end-to-end business process solution from design to execution of business development ideas.
Offer a variety of process engines to realize the visual global architecture, so that strategy easily translates to visualizations, which lead to enhanced business capabilities, processes and system.
Design an efficient execution engine that can support the company's rapid deployment of new services, and capable of streamlining processes that accelerate the development response and interaction speed.
Visual code
Visual process
Visual xml
Node edit
Download the latest package to the local, download link, please scroll to the top of the page;
Use the local installation method to install, pay attention to install the entire zip without manually decompressing:Preferences > Plugins > Install plugin from disk;
Restart the IDE. View the .bpm file and it will take effect;
New BPM file
STEP1: It can be created in the resources directory, select the resources directory and right-click Create New Bpm File. For example, I created it in the bpm directory of resources.
STEP2: Enter the file name, for example: hello inside the red box
STEP3: The plug-in will generate the hello.bpm file by default, which is a simple square root extraction demo process, as shown below
Visual editing
STEP1: You can select process-flow below for visual editing, drag the node from the left to the canvas, or select the node and drag it.
STEP2: Double-click the blank space to edit global parameters
STEP3: Double-click the node to edit the node parameters (drag and drop to adjust the position of the node)
Java code preview
STEP1: You can select java code below to preview the Java code. Syntax highlighting
Create test code
STEP1: Right-click the file and click Create New Bpm JUnit Test to automatically generate test classes
STEP2: Go to the specified path to view the generated test class (modify the input parameters and run the entire demo to complete)
idea plugin development learning materials
Welcome to register the company name in this issue: https://github.com/alibaba/compileflow/issues/9