v0.2.16

bytedance/flowgram.aiv0.2.16Jun 27, 2025by xiamidaxia

AI Summary

This release adds branch spacing constants to the fixed-layout component and introduces sub-canvas background support with inversify dependency injection in the free-container-plugin. It also includes important bug fixes for null handling in node-engine glob operations and node serialization.

Key Highlights

  • Added ConstantKeys.BRANCH_SPACING for fixed-layout component
  • Fixed null drilldown error in node-engine (typeof null is object bug)
  • Fixed node.toJSON to properly use document.toNodeJSON
  • Added sub-canvas background support with inversify dependency injection in free-container-plugin

New Features

  • ConstantKeys.BRANCH_SPACING constant added to fixed-layout
  • Sub-canvas background support in free-container-plugin with inversify dependency injection

Full Release Notes

🚀 v0.2.16
📅 date:2025-06-27

## What's Changed
* feat(fixed-layout): add ConstantKeys.BRANCH_SPACING by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/413
* fix(node-engine): glob null drilldown error, typeof null is object by @sanmaopep in https://github.com/bytedance/flowgram.ai/pull/417
* fix: node.toJSON use document.toNodeJSON by @xiamidaxia in https://github.com/bytedance/flowgram.ai/pull/418
* feat(free-container-plugin): 添加子画布背景支持,使用inversify依赖注入 by @husky-dot in https://github.com/bytedance/flowgram.ai/pull/420


**Full Changelog**: https://github.com/bytedance/flowgram.ai/compare/v0.2.15...v0.2.16