v0.5.0

bytedance/flowgram.aiv0.5.0Sep 24, 2025by xiamidaxia

AI Summary

ByteDance's flowgram.ai v0.5.0 introduces two-way connection support for lines in free-layout mode, adds auto-resize functionality to the panel-manager-plugin with a resize bar, and implements z-index management so selected nodes appear above siblings. This release also includes several bug fixes for layout issues, copy/paste functionality, and editor components.

Key Highlights

  • Two-way connection support for lines in free-layout-core (editorProps.twoWayConnection, default true)
  • Panel-manager-plugin now includes auto-resize with a resize bar
  • Selected nodes now have higher z-index than siblings
  • Breaking change: editorProps.canResetLine API modified
  • Breaking change: WorkflowLineEntity.from may now be undefined

Breaking Changes

  • editorProps.canResetLine API has changed
  • WorkflowLineEntity.from may now be undefined

New Features

  • Two-way connection support for lines in free-layout mode (free-layout-core)
  • Parent of selected node now has higher z-index than siblings (stack feature)
  • Panel auto-resize functionality with resize-bar (panel-manager-plugin)
  • editorProps.twoWayConnection option (default true) for controlling two-way connections

Full Release Notes

## What's Changed
* fix: fix ts & add ts-check in github actions by @dragooncjw in https://github.com/bytedance/flowgram.ai/pull/870
* feat(free-layout-core): line support  two-way connection by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/867
* fix(demo): offset occurs in newly created loop node after collapsing by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/874
* fix: coze-editor line highlight transparent by @dragooncjw in https://github.com/bytedance/flowgram.ai/pull/878
* fix: free layout panel layout by @dragooncjw in https://github.com/bytedance/flowgram.ai/pull/875
* fix(demo): group node copy paste by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/876
* feat(stack): parent of selected node needs higher zindex than siblings by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/879
* feat(panel-manager-plugin): panel add auto resize by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/880

## Main Updates

- editorProps add twoWayConnection (default true)

![20250924151512_rec_](https://github.com/user-attachments/assets/3c601e87-e5b0-4785-8499-a886413bda51)

![20250924114535_rec_](https://github.com/user-attachments/assets/cce2076b-1004-4b8d-bcdd-874cf660eff4)

- panel-manage-plugin add resize-bar

![20250924190625_rec_](https://github.com/user-attachments/assets/e1312bb3-ad01-4f7e-8562-e0541f750726)

## Breaking Change (FreeLayout)

- editorProps.canResetLine api changed
<img width="2400" height="756" alt="image" src="https://github.com/user-attachments/assets/8844b2d0-f762-41bd-aac1-7f55a370771e" />
- WorkflowLineEntity.from maybe undefined
<img width="2082" height="294" alt="image" src="https://github.com/user-attachments/assets/5df0ec7e-c25f-4abb-9a7a-40945277436e" />

**Full Changelog**: https://github.com/bytedance/flowgram.ai/compare/v0.4.19...v0.5.0