v0.4.2

bytedance/flowgram.aiv0.4.2Aug 19, 2025by xiamidaxia

AI Summary

This release (v0.4.2) of flowgram.ai focuses on bug fixes and one new feature. Key improvements include fixing display issues in materials, refactoring the free-layout component's styling, adding loop support for collapsed states in the free-layout demo, and improving the demo's line clearing behavior when clicking the move out button.

Key Highlights

  • Fixed inputs-values-tree display bug in materials component
  • Refactored free-layout to move line.uiState.className and style to parent div
  • Added loop support for collapsed state in free-layout-demo
  • Fixed demo to clear invalid lines when clicking move out button
  • Added demo readme documentation

New Features

  • Loop support collapsed in free-layout-demo

Full Release Notes

## What's Changed
* fix(materials): inputs-values-tree display bug by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/692
* fix(free-layout): move line.uiState.className and style to parent div by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/693
* feat(free-layout-demo): loop support collapsed by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/694
* fix(demo): click move out button should clear invalid lines by @louisyoungx in https://github.com/bytedance/flowgram.ai/pull/696
* docs: add demo readme by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/698

![20250819175637_rec_](https://github.com/user-attachments/assets/71033f4a-abcf-4dea-bdfd-402fbe5936e1)

**Full Changelog**: https://github.com/bytedance/flowgram.ai/compare/v0.4.1...v0.4.2