Releases: PowerJob/power-workflow-next
Releases · PowerJob/power-workflow-next
v1.0.0 - First Stable Release
🎉 @powerjob/power-workflow-next v1.0.0
First stable release! A PowerJob workflow visualization component based on React Flow, designed to replace the legacy @antv/g6-based workflow editor.
✨ Core Features
Node Types
- 📦 Task Node (JOB) - Execute scheduled tasks
- 🔀 Decision Node (DECISION) - Conditional branching
- 🔄 Nested Workflow Node (NESTED_WORKFLOW) - Nested sub-workflows
Canvas Capabilities
- Drag nodes, connect edges
- Edit/view mode toggle
- Zoom limits (25%–200%)
- Connection snap direction (horizontal/vertical)
Edge Styles
- Basic gray edges
- Branch edges (true/false green/red + Y/N labels)
- Selection highlight
- View mode edge color rendering based on execution status
Edit Panel
- Right-side slide-in panel
- Form validation
- Save confirmation
Advanced Features
- 🎯 Auto Layout - Dagre hierarchical layout, supports horizontal/vertical orientation
- ↩️ Undo/Redo - Configurable history steps (default 50 steps)
- 🖱️ Context Menu - Add nodes, copy/paste
- ⌨️ Keyboard Shortcuts - Delete, Ctrl+Z/Y, Ctrl+C/V, Ctrl+A, Ctrl+D, Escape
- 🗺️ Minimap Navigation - Optional minimap display
- 🔍 Node Search/Filter
- 🌐 Internationalization - Chinese/English (zh-CN / en-US)
📦 Installation
npm install @powerjob/power-workflow-next
🔗 Links
- https://github.com/PowerJob/power-workflow-next
- https://www.npmjs.com/package/@powerjob/power-workflow-next
- https://github.com/PowerJob/power-workflow-next/issues
📄 License
Apache-2.0