Skip to content

Releases: bytedance/flowgram.ai

v0.5.5

15 Oct 02:49
8e2bf52

Choose a tag to compare

What's Changed

Full Changelog: v0.5.4...v0.5.5

v0.5.4

13 Oct 06:38
2fdefcc

Choose a tag to compare

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
image

Full Changelog: v0.5.3...v0.5.4

v0.5.3

09 Oct 11:12
f073a69

Choose a tag to compare

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

30 Sep 03:13
09f2978

Choose a tag to compare

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

  • Fixed layout drag/drop nodes
    20250930111313_rec_

  • Free layout custom sort nodes

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

26 Sep 09:22
ccc30c0

Choose a tag to compare

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

24 Sep 15:02
15f4bb2

Choose a tag to compare

What's Changed

Main Updates

  • editorProps add twoWayConnection (default true)

20250924151512_rec_

20250924114535_rec_

  • panel-manage-plugin add resize-bar

20250924190625_rec_

Breaking Change (FreeLayout)

  • editorProps.canResetLine api changed
image - WorkflowLineEntity.from maybe undefined image

Full Changelog: v0.4.19...v0.5.0

v0.4.19

23 Sep 12:39
270c917

Choose a tag to compare

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

19 Sep 09:47
ff4777d

Choose a tag to compare

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

18 Sep 07:35
588a98a

Choose a tag to compare

What's Changed

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

17 Sep 02:58
6486783

Choose a tag to compare

What's Changed

20250916154811_rec_-convert.mp4
20250916-195346.mp4

Full Changelog: v0.4.15...v0.4.16