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

📖 Document Improvement Project 🔨 #6463

Open
Aarebecca opened this issue Nov 1, 2024 · 7 comments
Open

📖 Document Improvement Project 🔨 #6463

Aarebecca opened this issue Nov 1, 2024 · 7 comments

Comments

@Aarebecca
Copy link
Contributor

In order to help G6 create more user-friendly and easily accessible documentation, we hereby launch this project.
For those community users who have put forward important suggestions and made outstanding contributions during the improvement process of the G6 documentation, we will send AntV peripheral gifts 🎁.

You can participate in the following ways:

  1. Reply under this Issue with all kinds of problems you have found or think exist in the official documentation of G6 5.0.

For example, any situation where you think the G6 5.0 documentation is worthy of improvement, such as unclear expression, missing content, errors, etc.

  1. Contribute a PR for G6 for the problems or improvement points in the documentation and associate it with this Issue.

为了助力 G6 打造出更易于上手操作以及便捷查阅的文档,我们特此启动此项计划。
对于那些在 G6 文档改进过程中提出重要建议、做出突出贡献的社区用户,我们将送上 AntV 周边礼品🎁。

你能够通过以下方式参与其中:

  1. 在该 Issue 下回复你所发现或者认为 G6 5.0 官方文档中存在的各类问题。

例如表述不够清晰、内容有所缺失、出现错误等任何你觉得 G6 5.0 文档有值得改进之处的情况。

  1. 针对文档中存在的问题或者改进点,为 G6 贡献 PR,并与该 Issue 相关联。
@Aarebecca Aarebecca pinned this issue Nov 1, 2024
@Aarebecca Aarebecca changed the title 📖 Document Improvement Project 📖 Document Improvement Project 🔨 Nov 1, 2024
@Rey-Wang
Copy link

Rey-Wang commented Nov 2, 2024

求一份自定义节点的详细代码实例

@Aarebecca
Copy link
Contributor Author

求一份自定义节点的详细代码实例

可以参考:自定义节点

@Rey-Wang
Copy link

Rey-Wang commented Nov 9, 2024

求一份自定义节点的详细代码实例

可以参考:自定义节点

需要一个类似于生命周期函数的列表,现在写自定义节点很难知道应该覆盖哪个函数

@AmorDiamond
Copy link

请问树形布局下,有没有方法能控制默认展开的节点,不需要全部展开。以及控制相邻节点只能同时展开一个。 @Aarebecca

@Aarebecca
Copy link
Contributor Author

求一份自定义节点的详细代码实例

可以参考:自定义节点

需要一个类似于生命周期函数的列表,现在写自定义节点很难知道应该覆盖哪个函数

参考:https://g6.antv.antgroup.com/api/reference/g6/elementhooks

@Aarebecca
Copy link
Contributor Author

以及控制相邻节点只能同时展开一个

在数据中配置 collapsed 即可

@liuyonghu
Copy link

不会真的感觉文档写的一点问题都没有吧,怀疑都没有人审稿。
去看看这里的 type ,怎么解释的,然后举一反三去查吧。
https://g6.antv.antgroup.com/api/reference/g6/nodeoptions

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

No branches or pull requests

4 participants