Releases: bytedance/flowgram.ai
Releases · bytedance/flowgram.ai
v0.5.5
What's Changed
- feat: enhance fixed-layout e2e & add e2e cache by @dragooncjw in #919
- docs(materials): add WIP empty docs for materials by @sanmaopep in #920
- feat(auto-layout): support set layout-config inside tool params by @louisyoungx in #922
- chore: opt seo by @dragooncjw in #923
- feat(variable): get form context in create effect from variable provider by @sanmaopep in #924
Full Changelog: v0.5.4...v0.5.5
v0.5.4
What's Changed
- docs: adjust the doc table of contents by @xiamidaxia in #909
- feat(materials): add demo materials to debug materials in storybook by @sanmaopep in #911
- feat(free-layout-core): add "locationConfig" to port config and support percentage string values by @xiamidaxia in #913
- docs(materials): refract material documentations by @sanmaopep in #914
- refactor(demo-free-layout-simple): ports auto update via form values by @xiamidaxia in #916
- docs(materials): materials docs in nav by @sanmaopep in #917
- fix(material): The width of the variable selector will change when the content is too long, causing the container to be stretched out by @squallliu in #918

Full Changelog: v0.5.3...v0.5.4
v0.5.3
What's Changed
- feat: fixed layout supports drag and drop to add branches by @dragooncjw in #896
- feat(auto-layout): support custom node filtering by @louisyoungx in #897
- fix(demo): empty loop node collapse position offset by @louisyoungx in #898
- fix: fixed-layout drag element portal by @dragooncjw in #901
- fix(core): operation fromJSON cannot create inner-container nodes by @louisyoungx in #902
- feat: history support enableChangeNode option & rm unused code by @hanchayi in #906
Full Changelog: v0.5.2...v0.5.3
v0.5.2
What's Changed
- feat(material): optimize inputs-values-type by @sanmaopep in #886
- fix(material): json-schema-editor onChange in setState callback by @sanmaopep in #887
- feat(document): comment node form update & document create node api optimization by @louisyoungx in #888
- feat(core): operation-fromJSON supports diff JSON to perform CRUD on nodes and edges by @louisyoungx in #890
- feat(free-layout-editor): add operation(WorkflowOperationService) to FreeLayoutPluginContext by @xiamidaxia in #891
- docs: auto layout plugin by @louisyoungx in #894
- feat(stack): support custom stack index by @louisyoungx in #892
- docs: free stack plugin by @louisyoungx in #895
- feat: fixed layout supports drag and drop to add nodes by @dragooncjw in #893
Features
import { createFreeStackPlugin } from '@flowgram.ai/free-stack-plugin';
// set to your editorProps.plugins
createFreeStackPlugin({
sortNodes: (nodes) => {
const commentNodes: WorkflowNodeEntity[] = [];
const otherNodes: WorkflowNodeEntity[] = [];
nodes.forEach((node) => {
if (node.flowNodeType === WorkflowNodeType.Comment) {
commentNodes.push(node);
} else {
otherNodes.push(node);
}
});
return [...commentNodes, ...otherNodes];
},
})
- Free layout
ctx.operation.fromJSON
supports diff loading data (without screen flickering) and can be undone via undo
Full Changelog: v0.5.1...v0.5.2
v0.5.1
What's Changed
- fix(demo): loop node padding by @louisyoungx in #882
- fix(core): do not add cursor style to playground container and remove default cursor icon by @xiamidaxia in #885
- feat(core): node.updateExtInfo auto merge previous data by @xiamidaxia in #884
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- fix: fix ts & add ts-check in github actions by @dragooncjw in #870
- feat(free-layout-core): line support two-way connection by @xiamidaxia in #867
- fix(demo): offset occurs in newly created loop node after collapsing by @louisyoungx in #874
- fix: coze-editor line highlight transparent by @dragooncjw in #878
- fix: free layout panel layout by @dragooncjw in #875
- fix(demo): group node copy paste by @louisyoungx in #876
- feat(stack): parent of selected node needs higher zindex than siblings by @louisyoungx in #879
- feat(panel-manager-plugin): panel add auto resize by @xiamidaxia in #880
Main Updates
- editorProps add twoWayConnection (default true)
- panel-manage-plugin add resize-bar
Breaking Change (FreeLayout)
- editorProps.canResetLine api changed


Full Changelog: v0.4.19...v0.5.0
v0.4.19
What's Changed
- feat(material): sql-editor + code-editor tree shake optimize by @sanmaopep in #862
- fix(demo-free-layout): group node cannot be dragged in the mouse mode by @xiamidaxia in #864
- refactor(demo-free-layout): move canDropToNode to canContainNode, fix loop nested loop from paste, node-panel.panelProps add fromPort by @xiamidaxia in #865
- fix: useless dep & add dep-check command by @dragooncjw in #866
- fix(drag): root node shouldn't trigger reset position by @louisyoungx in #871
Full Changelog: v0.4.18...v0.4.19
v0.4.18
What's Changed
- docs: docs error fixed by @xiamidaxia in #854
- fix(core): flow-document add options.preNodeCreate and fix node.form undefined when form effect init by @xiamidaxia in #860
Full Changelog: v0.4.17...v0.4.18
v0.4.17
What's Changed
- fix(drag): reset container internal position when drag end by @louisyoungx in #847
- fix(demo): node menu popover container by @louisyoungx in #848
- chore: Update README.md Adoption by @luics in #849
- chore: docs add ref by @dragooncjw in #850
- feat(editor): add node.form instead of getNodeForm(node) by @xiamidaxia in #846
- feat(editor): node.scope by @sanmaopep in #851
- feat(free-layout-editor): add node.ports and node.lines by @xiamidaxia in #852
New API
- node.form: Get the node's form data, like
getNodeForm(node)
- node.lines: Get the node's lines data (Only FreeLayout), like
node.getData(WorkflowNodeLinesData)
- node.ports: Get the node's ports data (Only FreeLayout), like
node.getData(WorkflowPortsData)
- node.scope: Get the node's variable public scope, like
getNodeScope(node)
- node.privateScope: Get the node's variable private scope, like
getNodePrivateScope(node)
New Contributors
Full Changelog: v0.4.16...v0.4.17
v0.4.16
What's Changed
- fix: running finished with loading by @JxJuly in #829
- refactor(core): remove resize-polling by @xiamidaxia in #831
- fix(core): prototype pollution attack by @sanmaopep in #830
- docs(readme): add certimate to adoption by @xiamidaxia in #832
- fix(auto-layout): update position delta.y consider padding by @louisyoungx in #834
- fix: typescript for typedoc by @dragooncjw in #836
- fix(security): codescan fails to scan fix by @sanmaopep in #837
- fix(auto-layout): inconsistent auto-layout animation by @louisyoungx in #838
- fix(security): enhance get url params by @sanmaopep in #839
- perf(auto-layout): autolayout and fitview excute simultaneously by @louisyoungx in #840
- fix(auto-layout): autolayout container node bounce-back by @louisyoungx in #841
- fix(auto-layout): offset x should depend on layout node size by @louisyoungx in #842
- feat(auto-layout): support layout for specified container nodes by @louisyoungx in #844
- chore(material): upgrade coze editor by @sanmaopep in #843
20250916154811_rec_-convert.mp4
20250916-195346.mp4
Full Changelog: v0.4.15...v0.4.16