|
11 | 11 | [](https://twitter.com/CSGohNZ)
|
12 | 12 |
|
13 | 13 | # ProcessPiper (Business Process Diagram as Code)
|
14 |
| -A python library to generate business process diagram using code. |
| 14 | +ProcessPiper is an open source python library to generate business process diagram using python code or [PiperFlow](https://github.com/csgoh/processpiper/wiki/Usage-Documentation#syntax) syntax. |
15 | 15 |
|
16 |
| -## Why ProcessPiper? |
17 |
| -1. Generate professional business process diagrams with Python code, eliminating the need for manual drawing and complex tools. |
18 |
| -2. Improve teamwork by utilising source code repositories for change monitoring, collaboration, and diagram history. |
19 |
| -3. Enhance precision by generating diagrams with code, sharing/exporting them in PNG format, and integrating them with Python tools. |
| 16 | +<h3 align="center"> |
| 17 | + <b><a href="https://github.com/csgoh/processpiper/wiki/installation">Installation</a></b> |
| 18 | + • |
| 19 | + <b><a href="https://github.com/csgoh/processpiper/wiki/Usage-Documentation">Usage Guide</a></b> |
| 20 | + • |
| 21 | + <b><a href="https://github.com/csgoh/processpiper/wiki/Change-Logs">Changelogs</a></b> |
| 22 | +</h3> |
20 | 23 |
|
21 |
| - |
22 |
| -# Features |
23 |
| -* Generate business process diagrams with Python code |
24 |
| -* Alternatively business process diagram can be generated by using plain text |
25 |
| -* Business process diagrams contains |
26 |
| - * Diagram title |
27 |
| - * Pool(s) |
28 |
| - * Lane(s) |
29 |
| - * Elements: |
30 |
| - * Event: Start, End, Timer, Intermediate, Message, Signal, Conditional and Link |
31 |
| - * Activity: Task, Subprocess |
32 |
| - * Gateway: Inclusive, Exclusive, Parallel, Event |
33 |
| -* Support for different colour themes |
34 |
| - * Default |
35 |
| - * GREYWOOF |
36 |
| - * BLUEMOUNTAIN |
37 |
| - * ORANGEPEEL |
38 |
| - * GREENTURTLE |
39 |
| -* Save diagram as PNG file |
40 |
| - |
41 |
| -## Change Logs |
42 |
| -Refer to this [Change Logs](https://github.com/csgoh/processpiper/wiki/Change-Logs) page for the latest updates. |
43 |
| - |
44 |
| - |
45 |
| - |
46 |
| -## Installation |
47 |
| -### Install from PyPI |
48 |
| -```bash |
49 |
| -pip install processpiper |
50 |
| -``` |
51 |
| -<br> |
52 |
| - |
53 |
| -## Frontend Application |
54 |
| -Two frontend applications have been developed to showcase ProcessPiper capability. |
55 |
| -* [Piperoni](https://github.com/csgoh/Piperoni) - A desktop application |
56 |
| -* [Piperita](https://piperita.streamlit.app/) - A Streamlit web application |
57 | 24 | <br>
|
58 | 25 |
|
59 |
| -### Python version requirements: |
60 |
| -* Python 3.10, 3.11 |
61 |
| - |
62 |
| -### Library Dependencies |
63 |
| -* Pillow 9.5.0 |
64 |
| - |
65 |
| -### Supported Platforms |
66 |
| -* Windows |
67 |
| -* Ubuntu |
68 |
| -* MacOS |
69 | 26 |
|
70 |
| -## Documentation |
71 |
| -Please refer to [Processpiper Wiki](https://github.com/csgoh/processpiper/wiki) for more information on how to use this library. |
72 | 27 |
|
73 |
| -## Examples |
74 |
| -### (Method 1) Generate diagram using English like PiperFlow syntax |
75 |
| -This is a sample code to generate a business process diagram using PiperFlow syntax. |
| 28 | +## Method 1: Generate business process diagram using English like PiperFlow syntax |
| 29 | +This is a sample code to generate a business process diagram using [PiperFlow](https://github.com/csgoh/processpiper/wiki/Usage-Documentation#syntax) syntax. |
76 | 30 | ```python
|
77 | 31 | from processpiper.text2diagram import render
|
78 | 32 |
|
@@ -103,7 +57,7 @@ render(input_syntax, "my_process_map.png")
|
103 | 57 |
|
104 | 58 | ```
|
105 | 59 |
|
106 |
| -### (Method 2) Generate diagram using Python code |
| 60 | +### Method 2: Generate business process diagram using Python code |
107 | 61 | This is a sample code to generate a business process diagram using Python code. The code is self-explanatory. The diagram is generated using the default colour theme.
|
108 | 62 |
|
109 | 63 | ```python
|
@@ -144,16 +98,45 @@ with ProcessMap(
|
144 | 98 | The generated diagram is as follows:
|
145 | 99 | 
|
146 | 100 |
|
| 101 | +# Features |
| 102 | +* Generate business process diagrams with Python code |
| 103 | +* Alternatively business process diagram can be generated by using PiperFlow |
| 104 | +* Business process diagrams contains |
| 105 | + * Diagram title |
| 106 | + * Pool(s) |
| 107 | + * Lane(s) |
| 108 | + * Elements: |
| 109 | + * Event: Start, End, Timer, Intermediate, Message, Signal, Conditional and Link |
| 110 | + * Activity: Task, Subprocess |
| 111 | + * Gateway: Inclusive, Exclusive, Parallel, Event |
| 112 | +* Support for different colour themes |
| 113 | + * Default |
| 114 | + * GREYWOOF |
| 115 | + * BLUEMOUNTAIN |
| 116 | + * ORANGEPEEL |
| 117 | + * GREENTURTLE |
| 118 | +* Save diagram as PNG file |
| 119 | + |
| 120 | + |
| 121 | +## Frontend Application |
| 122 | +Two frontend applications have been developed to showcase ProcessPiper capability. |
| 123 | +* [Piperoni](https://github.com/csgoh/Piperoni) - A desktop application |
| 124 | +* [Piperita](https://piperita.streamlit.app/) - A Streamlit web application |
147 | 125 |
|
148 |
| -## Development Status |
149 |
| -Initial first release would only cover the following basic business process elements. Other element types will be introduced in subsequence releases. |
| 126 | +## Support and Community |
150 | 127 |
|
151 |
| -* Event: Start, End, Timer, Intermediate, Message, Signal, Conditional, Link |
152 |
| -* Activity: Task, Subprocess |
153 |
| -* Gateway: Inclusive, Exclusive, Parallel, Event |
| 128 | +If you have any problem, I will try my best to resolve it.<br> |
| 129 | + |
| 130 | +* 📄 Find a solution in our [Wiki](https://github.com/csgoh/processpiper/wiki) |
| 131 | +* ⚠️ Open an issue right here on [GitHub](https://github.com/csgoh/processpiper/issues)<br> |
154 | 132 |
|
155 | 133 | Any ideas or suggestions, please send it to me via [GitHub Discussions](https://github.com/csgoh/processmapper/discussions).
|
156 | 134 |
|
| 135 | +## How to Contribute |
| 136 | + |
| 137 | +If you'd like to contribute, start by reading our [Contribution Guide](https://github.com/csgoh/processpiper/tree/main/contributions/CONTRIBUTING.md).<br> |
| 138 | + |
| 139 | +Lets build great software together. |
157 | 140 |
|
158 | 141 |
|
159 | 142 |
|
0 commit comments