mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
1.0 KiB
1.0 KiB
Changelog
[Unreleased]
Added
- Add
flowingfield toLineColorinterface for configuring flowing line colors- Added
flowing: stringfield toLineColorinterface - Added
LineColors.FLOWINGenum value with default color - Updated
WorkflowLinesManager.getLineColor()to support flowing state - Updated demo configurations to include flowing color examples
- Added comprehensive test coverage for flowing line functionality
- Added
Features
- Lines can now be colored differently when in flowing state (e.g., during workflow execution)
- Priority order: hidden > error > highlight > drawing > hovered > selected > flowing > default
- Backward compatible with existing line color configurations
Demo Updates
- Updated
apps/demo-free-layoutto include flowing color configuration - Added CSS variable support:
var(--g-workflow-line-color-flowing,#4d53e8)
Tests
- Added test cases for flowing line color functionality
- Verified priority ordering with other line states
- Ensured backward compatibility