404 Commits

Author SHA1 Message Date
Louis Young
f2a04c6219
perf(free-layout): optimize line interaction experience (#468)
* feat(drag): drag line support snapping to multiple input ports

* feat(drag): drag line support snapping to container node

* feat(node-panel): build line support multiple input ports

* feat(demo): not allow add line between different loop container
v0.2.20
2025-07-04 09:26:50 +00:00
Yiwei Mao
e5c96344f1
docs(variables): fix error (#467) 2025-07-04 08:51:07 +00:00
Louis Young
2c4a42a772
perf(demo): optimize the way loop create its block start & end node (#466) 2025-07-04 08:13:43 +00:00
Yiwei Mao
f3a91a4efa
docs(variable): variable document update (#463) 2025-07-04 06:57:07 +00:00
Louis Young
b0ebe5634d
fix(demo): remove loop block nodes form validates & effects (#460) 2025-07-04 03:35:28 +00:00
Louis Young
1792e5f190
feat(client): autoLayout add disableFitView option (#459) 2025-07-04 03:17:08 +00:00
Yiwei Mao
4a857ba9a3
fix(materials): mouseup event propagation in condition (#458)
* fix(materials): mouseup event propagation in condition

* fix(docs): form-materials
v0.2.19
2025-07-03 12:56:10 +00:00
chenjiawei.inizio
e5d73966b4
fix: license header autoinstall (#455)
* fix: autoinstall license dep

* chore: add filter
2025-07-03 10:16:49 +00:00
Louis Young
0903f0fe07
feat(demo): loop built in start & end node (#452)
* fix(container): node move out container abnormal flashing

* chore(demo): update initial data

* feat(demo): loop built in start & end node

* chore(demo): update initial data
2025-07-03 10:14:47 +00:00
Yiwei Mao
9210f5041d
feat: prompt editor variable display (#453)
* feat: prompt editor variable display

* feat: prompt editor with variables docs
2025-07-03 09:32:23 +00:00
Louis Young
25e20d8c20
chore(auto-layout): auto layout animation disabled by default (#449) v0.2.18 2025-07-02 15:01:50 +00:00
Yiwei Mao
de7f2d3c07
feat(material): prompt-editor with variables (#445)
* feat: init prompt editor

* feat: simple prompt editor

* feat: split prompt editor

* feat: fix-layout prompt editor
2025-07-02 13:11:20 +00:00
Louis Young
800a820e10
fix(core): line add node to deep container will cause offset (#444) 2025-07-02 10:52:49 +00:00
Louis Young
0a9c3a0167
fix(core): support hover line or port in deep layer container (#443) 2025-07-02 08:46:38 +00:00
Yiwei Mao
522bc0770d
chore(demo): remove sync-variable-plugin in demo-nextjs-antd (#442) 2025-07-02 07:10:44 +00:00
Louis Young
d8e2b4a838
fix(core): should trigger parent transform change after node disposed (#440) 2025-07-02 04:01:40 +00:00
Yiwei Mao
867ceb8bc2
fix(materials): json schema title & variable selector long text style (#438)
* fix: json schema title

* fix: variable selector style

* feat: add missing license header

* feat: add doc build in gitignore
2025-07-01 12:44:12 +00:00
Louis Young
2d5fac776a
fix(core): node dispose should trigger parent transform change (#436) v0.2.17 2025-07-01 12:02:11 +00:00
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
Louis Young
94bdba02d1
fix(sub-canvas): background dot fill color (#437) 2025-07-01 10:34:17 +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
小智
dc5e7eb023
feat(free-container-plugin): 添加子画布背景支持,使用inversify依赖注入 (#420)
* feat(free-container-plugin): add sub-canvas background support with inversify

- Add inversify dependency injection support for sub-canvas background
- Use useService to get BackgroundConfig from IoC container
- Support all background options: backgroundColor, dotColor, dotSize, etc.
- Add graceful fallback when BackgroundConfig is not registered
- Generate unique SVG pattern IDs to avoid conflicts
- Remove hardcoded background color from styles
- Add @flowgram.ai/background-plugin dependency

The sub-canvas now automatically inherits background configuration
from the main canvas.

* feat(background-plugin): export BackgroundConfig and bind to IoC container

- Export BackgroundConfig symbol for use by other plugins
- Add onBind method to register BackgroundConfig in IoC container
- Enable dependency injection pattern for background configuration access

This allows sub-canvas components to access background configuration
through inversify container.

* chore: update pnpm-lock.yaml after adding background-plugin dependency

- Update lock file to include @flowgram.ai/background-plugin dependency
- Ensures consistent dependency versions across environments

---------

Co-authored-by: husky-dot <xiaozhi@172-0-8-36.lightspeed.rcsntx.sbcglobal.net>
v0.2.16
2025-06-27 06:34:44 +00:00
xiamidaxia
080d28ba1a
fix: node.toJSON use document.toNodeJSON (#418) 2025-06-27 06:26:53 +00:00
Yiwei Mao
bf69e6cb89
fix(node-engine): glob null drilldown error, typeof null is object (#417) 2025-06-27 03:54:25 +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) v0.2.15 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
jzwnju
233b9befab
feat(materials): add className prop to JsonSchemaEditor and adjust button styling (#406) 2025-06-24 03:56:21 +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
Louis Young
0027c2e452
fix(core): some device touches is not array (#398) 2025-06-23 04:42:39 +00:00
WanderWang
b211d0774f
chore(build): support rush build on windows (#397) 2025-06-20 12:35:02 +00:00
WanderWang
082321bcdb
docs(readme): optimize command and version for rush setup (#396) 2025-06-20 11:06:13 +00:00
xiamidaxia
2ed104ee95
feat(free-group-plugin): add initGroupJSON config (#394)
* docs: update readme

* feat(free-group-plugin): add initGroupJSON config
2025-06-20 11:00:38 +00:00
Yiwei Mao
e385211484
fix: empty object missing in variable tree (#391) v0.2.14 2025-06-19 09:03:27 +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
v0.2.13
2025-06-18 13:58:07 +00:00
Louis Young
7c376e3254
fix(core): browser compatibility issue with TouchList api (#389) 2025-06-18 13:50:32 +00:00
xiamidaxia
2b87cce7fe
feat: node registry meta add autoResizeDisable and remove expandedSize (#388) 2025-06-18 13:13:33 +00:00
Louis Young
9190fbc6ba
feat(core): make playground effect idempotent to support React.StrictMode (#387)
* feat(core): playground container create & dispose effect should be idempotent

* fix(core): outside cannot get playground ref
2025-06-18 12:50:16 +00:00
xiamidaxia
cb36e753ab
refactor(form): form store set values with cloneDeep (#386)
* refactor(form): form store values clone

* fix(history): history support form.updateFormValues
2025-06-18 09:34:20 +00:00
xiamidaxia
3dda7cfdf3
feat: use-node-render add id,type,data,updateData (#384) v0.2.12 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
Louis Young
9d029bf335
feat(auto-layout): support custom layout config (#378) v0.2.11 2025-06-13 12:29:26 +00:00
xiamidaxia
50fa5a8eba
fix: disposable freeze error (#377) 2025-06-13 12:04:55 +00:00
Louis Young
b6433f7b99
feat(auto-layout): sort same from port nodes using y-axis coordinate (#375) 2025-06-13 11:06:26 +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