v0.4.4

bytedance/flowgram.aiv0.4.4Aug 25, 2025by xiamidaxia

AI Summary

This release adds internationalization support for form-materials, introduces availableLines to WorkflowNodeLinesData, and refactors bezier/fold lines with new center label positioning properties (labelX, labelY) in WorkflowLineEntity. Several bug fixes are also included for the dropdown component and group node functionality in the free-layout demo.

Key Highlights

  • Added internationalization (i18n) support for form-materials
  • Introduced availableLines property to WorkflowNodeLinesData in free-layout
  • Refactored bezier and fold lines with new center.labelX and center.labelY properties for precise label positioning
  • Fixed llmstxt dropdown component issue
  • Fixed group node not being addable from node-panel in demo-free-layout

New Features

  • form-materials i18n support for internationalization
  • availableLines property added to WorkflowNodeLinesData
  • New line.center.labelX and line.center.labelY properties in WorkflowLineEntity for label positioning

Full Release Notes

## What's Changed
* feat(material): form-materials i18n by @pcj725 in https://github.com/bytedance/flowgram.ai/pull/715
* feat(free-layout): add availableLines to WorkflowNodeLinesData by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/716
* docs(readme): deepwiki badge by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/717
* fix(material-cli): dependency version consistent with form-materials- by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/718
* fix: llmstxt dropdown by @dragooncjw in https://github.com/bytedance/flowgram.ai/pull/720
* feat(free-layout): refactor bezier and fold line, add line.center.labelX line.center.labelY to WorkflowLineEntity by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/721
* fix(demo-free-layout): group node cannot add from node-panel by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/723

LineAddButton use:

```typescript
style={{
  transform: `translate(-50%, -50%) translate(${line.center.labelX}px, ${line.center.labelY}px)`,
}}
```

![img_v3_02pd_e4a7c912-7b8e-4aed-9357-afb87cebd93g](https://github.com/user-attachments/assets/d459ff0e-12a6-4242-9d46-08e64e656a9e)
![img_v3_02pd_d21976a2-495a-4cda-a2b6-2bd42ef8da6g](https://github.com/user-attachments/assets/fbb69e92-8064-4704-a9c4-b9f72ad065a2)

## New Contributors
* @pcj725 made their first contribution in https://github.com/bytedance/flowgram.ai/pull/715

**Full Changelog**: https://github.com/bytedance/flowgram.ai/compare/v0.4.3...v0.4.4