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

docs(site): update layout examples #6671

Merged
merged 1 commit into from
Dec 26, 2024
Merged

docs(site): update layout examples #6671

merged 1 commit into from
Dec 26, 2024

Conversation

ChenKun1997
Copy link
Contributor

  • 添加一个子图布局的示例
    image

这个预览图我没有,怎么搞一个?还有英文名看一下怎么修改比较好呢 @Aarebecca
image

Copy link

概述

此PR添加了一个新的子图布局示例,更新了相关文档和示例代码。

变更

文件 概要
packages/site/examples/layout/sub-graph/demo/basic.js 添加了一个新的子图布局示例代码,使用 @antv/g6 库创建图形。
packages/site/examples/layout/sub-graph/demo/meta.json 更新了元数据文件。
packages/site/examples/layout/sub-graph/index.en.md 添加了英文文档说明。
packages/site/examples/layout/sub-graph/index.zh.md 添加了中文文档说明。

data:{
nodes:data
},
animation:false,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

autoFit should be a boolean value according to the G6 documentation. Please verify if 'view' is intended or if it should be true or false.

@Aarebecca
Copy link
Contributor

@ChenKun1997 你把封面图回复到评论区,我上传好后发链接发给你

@ChenKun1997
Copy link
Contributor Author

@ChenKun1997 你把封面图回复到评论区,我上传好后发链接发给你

image

@Aarebecca
Copy link
Contributor

@ChenKun1997
Copy link
Contributor Author

@ChenKun1997 这是图片链接:https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*7dQoTLrT2xMAAAAAAAAAAAAADmJ7AQ/original

已经更新了链接

@Aarebecca Aarebecca merged commit 0c84e3c into antvis:v5 Dec 26, 2024
1 check passed
@Aarebecca
Copy link
Contributor

感谢贡献🎉

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

Successfully merging this pull request may close these issues.

2 participants