212 Commits

Author SHA1 Message Date
chenjiawei.inizio
cbefaa54fb
chore: add license header (#432)
* chore: add license-header

* chore: add precommit

* chore: add license header

* fix: only js & shell style
2025-07-01 11:53:02 +00:00
Yiwei Mao
7c6c7ab7a2
feat(variable): global variable + variable panel plugin in demo (#435)
* feat: global variable panel

* feat(variable): on any change to on list or any var change

* feat: fix layout add variable panel
2025-07-01 11:30:22 +00:00
Yiwei Mao
93aa3e77b1
feat(variable): batch outputs (#426)
* feat: get by key path in flow-node-variable-data

* feat: scope chain transform service

* feat: form outputs plugin

* feat: base variable field

* feat: move set var get var to scope

* feat: batch outputs

* feat: form plugin create effect by func

* feat: batch output key configuration

* feat: merge effet api in form plugin

* feat: form plugin

* fix: variable layout test

* feat: simplify defineFormPluginCreator
2025-07-01 03:47:52 +00:00
xiamidaxia
8fa571af9e
feat(free-layout): add canDropToNode config to editor-props (#423) 2025-06-30 08:49:04 +00:00
xiamidaxia
629a9e564f
feat(fixed-layout): add ConstantKeys.BRANCH_SPACING (#413) 2025-06-26 09:02:37 +00:00
xiamidaxia
099fd445f2
fix(form): validate feedback level support warning (#408) 2025-06-24 08:26:28 +00:00
小智
488013bb0b
feat(background-plugin): 增强背景插件, 支持自定义背景、Logo显示和新拟态效果 (#404)
* feat(background-plugin): enhance background plugin with logo support and neumorphism effects

- Add comprehensive logo support (text and image)
- Implement neumorphism visual effects for modern UI
- Add customizable background colors and dot patterns
- Fix logo position jumping during canvas scrolling
- Add complete Chinese and English documentation
- Add visual examples and type definitions
- Update navigation metadata for documentation

Features:
- Logo positioning with 5 preset locations
- Neumorphism effects with configurable shadows
- Custom background colors and dot styling
- Smooth logo rendering during viewport changes
- Comprehensive documentation with examples

* fix(playground-react): fix background plugin type compatibility

- Fix TypeScript error when background option is boolean
- Ensure proper type handling for BackgroundLayerOptions

* fix(docs): remove incorrect number from sub-canvas plugin heading

---------

Co-authored-by: husky-dot <xiaozhi@172-0-8-36.lightspeed.rcsntx.sbcglobal.net>
2025-06-24 05:01:55 +00:00
Yiwei Mao
7c43b0cfd0
feat(variable): remove sync-variable-plugin and use provide-json-schema-outputs effect (#400)
* feat(variable): provide json schema outputs effect

* fix(scope-chain): group variable chain

* fix: ts check

* test: variable layout
2025-06-23 09:56:25 +00:00
WanderWang
b211d0774f
chore(build): support rush build on windows (#397) 2025-06-20 12:35:02 +00:00
xiamidaxia
d21cdae3ea
fix(editor): fix zoom and disableScrollLimit -> enableScrollLimit (#390)
* fix(core): flow-nodes-content-layer auto resize

* fix(editor): fix zoom and disableScrollLimit -> enableScrollLimit
2025-06-18 13:58:07 +00:00
xiamidaxia
3dda7cfdf3
feat: use-node-render add id,type,data,updateData (#384) 2025-06-17 09:53:17 +00:00
xiamidaxia
77d8a893cb
feat(docs): add custom layer docs (#383) 2025-06-17 07:41:17 +00:00
Louis Young
fd423d9cb5
feat(minimap): support touch operation (#381)
* fix(core): touch end clear hover

* feat(minimap): support touch operation

* fix(demo): touch create comment should not trigger drag

* feat(demo): comment node support touch resize
2025-06-16 11:42:38 +00:00
小智
83ae052705
feat(free-lines-plugin): add custom arrow renderer support (#376)
* feat(free-lines-plugin): add custom arrow renderer support

* fix(free-lines-plugin): remove unused FlowRendererRegistry import

---------

Co-authored-by: husky-dot <xiaozhi@xiaozhideMacBook-Pro.local>
2025-06-13 13:29:27 +00:00
xiamidaxia
39734e5a02
refactor: i18n (#374)
* refactor: i18n

* refactor: i18n

* feat: free-container-plugin support i18n
2025-06-13 10:50:54 +00:00
Louis Young
39dbde28ae
feat(free-core): free canvas supports touch operation (#367)
* feat(core): playground drag support drag event

* feat(core): touch move the canvas position

* feat(core): touch move the node position

* feat(core): touch move create or reset line

* test(core): global add TouchList mock

* fix(core): touch drag event disable passive

* fix(core): touch event delay

* feat(port): port click support touch operation

* fix(demo): loop output port line add btn set incorrect container

* test(core): global add TouchList mock

* refactor(core): clean & format codes

* feat(core): getPosFromMouseEvent built-in getEventCoord
2025-06-13 10:37:00 +00:00
xiamin
da78b36fd1
feat: Add demo-nextjs-antd demo and free-antd-materials package (#366)
* feat: add free-antd-materials

* feat: add demo-nextjs-antd

* fix(free-antd-materials): pass ts tests

* chore: rename free-antd-materials to  form-antd-materials
2025-06-12 13:11:03 +00:00
小智
02e48ebdd9
feat(core): add flowing field to LineColor interface (#370)
Co-authored-by: husky-dot <xiaozhi@xiaozhideMacBook-Pro.local>
2025-06-12 11:18:12 +00:00
chenjiawei.inizio
f048f6390d
fix: cli polyfill (#365)
* fix: cli polyfill

* fix: run playwright in e2e folder
2025-06-12 06:54:53 +00:00
小智
a6d61d347e
feat: add customizable port colors to WorkflowPortRender (#360)
* feat(workflow-port): add customizable port colors

* fix(workflow-colors): unify CSS variable naming to --g-workflow-* format - Update LineColors enum and demo configuration - Add CSS variable definitions - Ensure consistent naming across all workflow-related variables

---------

Co-authored-by: husky-dot <xiaozhi@xiaozhideMacBook-Pro.local>
Co-authored-by: husky-dot <xiaozhi@172-0-8-36.lightspeed.rcsntx.sbcglobal.net>
2025-06-10 10:26:30 +00:00
xiamidaxia
3552cc2227
chore: fix runtime publish nad docs css (#357) 2025-06-10 07:47:46 +00:00
Louis Young
aab4183d65
feat(runtime): flowgram workflow node.js runtime (#304)
* feat(runtime): init nodejs runtime

* feat(runtime): init folder struct

* feat(runtime): interface & test

* feat(runtime): basic api & schema interfaces

* feat(runtime): init runtime model framework

* feat(runtime): create document & node entities

* feat(runtime): runtime engine basic execute logic

* feat(runtime): node add variable data

* refactor(runtime): split to sub domains

* test(runtime): document module test

* feat(runtime): variable store

* feat(runtime): workflow runtime executor

* chore(demo): reset initial data

* feat(runtime): workflow runtime branch logic

* feat(runtime): workflow runtime access to ai model

* feat(runtime): workflow runtime data all add to context

* feat(runtime): workflow runtime invoke record snaphots

* feat(runtime): workflow runtime status

* feat(runtime): main api request processing chain

* chore(demo): reset initial data

* refactor(runtime): types move to interface package

* feat(runtime): router access api defines & interfaces

* feat(runtime): standardize api register & gen api docs

* feat(runtime): create snapshot before node execute

* fix(sub-canvas): tips cannot close

* chore(demo): reset initial data

* feat(demo): make node schema runnable

* feat(demo): access test run

* feat(runtime): runtime core can run in both browser & server env

* fix(runtime): condition value empty issue

* feat(runtime): beautify structure data view

* feat(demo): test run sidesheet

* chore(demo): test run sidesheet button fixed

* feat(demo): running node show flowing line

* chore(demo): hide node result overflow

* chore(demo): reset initial data

* feat(runtime): workflow runtime support loop node

* fix(container): sub canvas height issue

* feat(demo): test run multiple result render

* test(runtime): enbale test coverage

* refactor(runtime): interface folders structure

* refactor(runtime): core folders structure

* refactor(runtime): core export apis & access to router

* feat(demo): runtime plugin

* feat(runtime): server add try-catch protection

* fix(runtime): node process reset end time

* chore: format json

* chore: rush update

* refactor(demo): running service move to runtime-plugin as built-in runtime service

* fix(runtime): build error

* test(runtime): disable nodejs test

* fix(demo): test run result key indent width
2025-06-09 09:13:24 +00:00
xiamidaxia
1668d9f26e
feat(free-layout): line-color support css var (#349) 2025-06-09 07:51:46 +00:00
xiamidaxia
c320ab61e9
feat(demo-fixed-layout): update initialData (#341)
* feat(demo-fixed-layout): update initialData

* fix(fixed-layout-demo): clipboard plugin
2025-06-06 11:45:16 +00:00
xiamidaxia
fbfe45c993
fix(free-layout-demo): fix loop subcanvas error (#340) 2025-06-06 11:25:10 +00:00
xiamidaxia
de863df6fb
feat(demo-fixed-layout): add case-default/break-loop/if nodes,condition -> switch (#336)
* feat(demo-fixed-layout): add case-default/break-loop/if nodes

* feat(demo-fixed-layout): condition -> switch

* chore: e2e fixed
2025-06-06 11:07:15 +00:00
xiamidaxia
b87c3e918c
feat(demo-free-layout): context-menu-plugin (#329) 2025-06-05 11:21:34 +00:00
xiamidaxia
0b4b85da55
fix(demo-fixed-layout): catchBlock add error (#326) 2025-06-05 03:51:50 +00:00
xiamidaxia
fdb663c74c
feat(demo): sidebar support openning by node id (#324) 2025-06-04 13:38:43 +00:00
xiamidaxia
d96f97dbc5
fix: fixed-layout catchBlock error, sidebar form render with node expanded (#323)
* fix: sidebar form render

* fix(fixed-layout): catch block error
2025-06-04 13:01:49 +00:00
jzwnju
de072dd4cf
feat(material): Add default value editing function (#292)
* feat(material): Add default value editing function

* style(json-schema-editor): Remove the console.log statements for debugging

* refactor(form-materials): Optimize the export methods of interfaces and utility functions

* refactor(material): Refactor the JSONSchemaEditor's default value input component to use common constant input

* chore: Update dependencies @types/inquirer and @types/node
2025-06-04 12:35:04 +00:00
chenjiawei.inizio
13e2302d9b
fix: llm-full (#320) 2025-06-04 11:43:35 +00:00
chenjiawei.inizio
4661634a01
chore: support llmstxt (#317)
* chore: support llmstxt

* chore: close ssg for vercel build

* fix: e2e test case
2025-06-04 08:43:13 +00:00
chenjiawei.inizio
60f7ace69d
chore: add memory (#306)
* chore: add memory

* chore: add shell
2025-06-03 11:56:25 +00:00
xiamidaxia
5d4956f393
feat(demo): node title editable (#305) 2025-06-03 09:21:34 +00:00
xiamidaxia
f0d9c5062c
feat(demo-fixed-layout): add case node for condition branches (#302)
* refactor: FlowNodeRegistry.addChild depreacted

* feat: FlowDocument.toString(true) support showType

* feat(demo-fixed-layout): add case node and catch-block node
2025-06-03 07:54:45 +00:00
xiamidaxia
ba9eb5598c
fix(demo): endNode form-meta and form validation (#293)
* feat(docs): add contact us page

* fix(demo): endNode form-meta and form validation
2025-05-29 08:34:48 +00:00
chenjiawei.inizio
d8aaf55868
fix: github eslint warnings (#286) 2025-05-28 03:33:30 +00:00
xiamidaxia
136a713f29
feat: add materials.components api (#288) 2025-05-28 03:07:15 +00:00
xiamidaxia
d93982d1ea
docs: update lark group (#285) 2025-05-27 12:47:27 +00:00
xiamidaxia
7d846dc48f
fix(free-layout): node deletion data loss after redo (#284)
* fix(demo): node required validate

* fix(free-layout): node deletion data loss after redo/undo
2025-05-27 11:35:58 +00:00
chenjiawei.inizio
9aca28063e
chore: add e2e config (#280)
* chore: open ssg

* chore: add e2e base config case

* chore: sync screenshot

* chore: sync screenshot in linux

* chore: render layout
2025-05-27 06:52:20 +00:00
Yiwei Mao
83221a61b6
feat(materials): set form-materials to esm (#279) 2025-05-27 03:50:31 +00:00
Louis Young
46dda28464
feat(line): custom port color by classname or css variable (#274) 2025-05-26 08:38:11 +00:00
Louis Young
2da1f3c5bf
fix(core): free document prevent to trigger flowDocument.addBlocksAsChildren (#273) 2025-05-26 08:37:57 +00:00
Yiwei Mao
bac29feb3a
feat(material): condition row (#268)
* feat(material): condition row

* docs(material): condition row docs
2025-05-23 08:52:27 +00:00
xiamidaxia
9c69aa4e52
fix(docs): image style error (#267)
* feat(docs): add composite nodes docs

* fix(docs): style
2025-05-23 08:48:39 +00:00
xiamidaxia
deb3e9ff6a
feat(docs): composite nodes docs (#265)
* feat(docs): add composite nodes docs

* feat(docs): source code link
2025-05-23 08:26:31 +00:00
Yiwei Mao
ff5635e93c
docs(materials): auto rename ref docs (#264) 2025-05-23 06:55:34 +00:00
Yiwei Mao
dd727c8d63
feat(material): auto rename effect (#261) 2025-05-23 04:41:45 +00:00