Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义物料的时候,如何使用区块? #3107

Open
yuanAIhan opened this issue Oct 30, 2024 · 2 comments
Open

自定义物料的时候,如何使用区块? #3107

yuanAIhan opened this issue Oct 30, 2024 · 2 comments

Comments

@yuanAIhan
Copy link

image
这里的描述说区块只是一小段符合低代码协议的 schema。

我知道正常开发一个物料,使用脚手架初始化一个项目,类似于下面的图片所示:
image

但是在区块里面,如果我想使用某些已经定义好的物料组件来组成一个模版。该如何开发呢?

@yuanAIhan
Copy link
Author

我现在的场景是我在使用X6来开发一个画布,比如说我开发了A、B、C和Edge的物料。我想组合一个模版给用户直接用,比如为:A -> B ; B -> C这样的节点和连线的组合。组合里面还是保留A、B、C三个节点各自的配置和属性/

@AndyJinSS
Copy link
Contributor

直接定义snippet不就可以吗?这个就是一个组合,类似于Form表单的snippet就组合了多个组件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants