A Python package for creating process flow diagrams
Project description
ProcessFlow
A Python package for creating process flow diagrams and BPMN-style workflow visualizations.
Features
- Create process maps with pools and lanes
- Add various elements: start/end events, tasks, gateways, etc.
- Connect elements with labeled connections
- Export to PNG, SVG, and other formats
- Export to BPMN XML and Draw.io formats
- Customizable themes and styling
Installation
pip install processflow
Quick Start
import processflow
# Create a process map
with processflow.ProcessMap(title="Order Processing") as pm:
# Add a lane
lane = pm.add_lane("Customer Service")
# Add elements
start = lane.add_element("Receive Order", processflow.EventType.START)
task = lane.add_element("Process Order", processflow.ActivityType.TASK)
end = lane.add_element("Order Complete", processflow.EventType.END)
# Connect elements
start.connect(task)
task.connect(end)
# Draw and save
pm.draw()
pm.save("process_diagram.png")
Documentation
For detailed documentation and examples, visit the project repository.
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
processflow-1.0.0.tar.gz
(54.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file processflow-1.0.0.tar.gz.
File metadata
- Download URL: processflow-1.0.0.tar.gz
- Upload date:
- Size: 54.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a7eeb8f3a0ab8fa13fe1a2a877856de6fb929e170e20f240d497cd7fc26fc72
|
|
| MD5 |
28ef10bbc255ce20082e120bfad30687
|
|
| BLAKE2b-256 |
0cc52a27fd98e309b8cf25e0955316f6f1bdaf97549b4d32747e1ee695f0b566
|
File details
Details for the file processflow-1.0.0-py3-none-any.whl.
File metadata
- Download URL: processflow-1.0.0-py3-none-any.whl
- Upload date:
- Size: 66.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3efc7f2c2f4dc58cace5f5aa3de8d4feea61375dee54ccc3c17baefafd4ec8df
|
|
| MD5 |
f87d060ef6b76a00b5e744eb32cef982
|
|
| BLAKE2b-256 |
d6564e8331c01c4771a1bbf8195afc3af6dc1a4737ea05d24601f11973baa276
|