Skip to content

feat: add vue node for g6 #7282

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

Closed
wants to merge 4 commits into from
Closed

feat: add vue node for g6 #7282

wants to merge 4 commits into from

Conversation

Child-qjj
Copy link
Contributor

@Child-qjj Child-qjj commented Jul 15, 2025

vue自定义节点,支持vue2 #7145

@hustcc
Copy link
Member

hustcc commented Jul 15, 2025

@Child-qjj 是否可以放到你自己的 github 下面,然后我们在官网来推荐你的项目。类似于我给 echarts 写了 react 封装一样:https://github.com/hustcc/echarts-for-react 这样的好处:

  1. 可以按照你自己的代码组织形式来组织代码
  2. 后续你的维护工作会简单一些,不用额外走 pr
  3. 对你自己的个人社区影响力更有好处。

@Child-qjj
Copy link
Contributor Author

@Child-qjj 是否可以放到你自己的 github 下面,然后我们在官网来推荐你的项目。类似于我给 echarts 写了 react 封装一样:https://github.com/hustcc/echarts-for-react

👌

@Child-qjj Child-qjj closed this Jul 15, 2025
@hustcc
Copy link
Member

hustcc commented Jul 15, 2025

@Child-qjj 大概看了下,代码写的挺好的,个人开源项目可以注意几个点:

  1. 代码 repo 的规范性,至少开起来是专业的,这就需要关注:代码格式和风格、readme 的规整等细节。
  2. 官网和案例充足,很多情况下,写案例和文档的工作远大于源代码。
  3. 一些工程上的优化,比如:单元测试、相关的 readme 图标等。

等你 ok 了。回复到这里,或者加钉钉帮你一起看看。

@hustcc hustcc changed the title Feat#7145 feat: add vue node for g6 Jul 15, 2025
@Child-qjj
Copy link
Contributor Author

@Child-qjj 大概看了下,代码写的挺好的,个人开源项目可以注意几个点:

  1. 代码 repo 的规范性,至少开起来是专业的,这就需要关注:代码格式和风格、readme 的规整等细节。
  2. 官网和案例充足,很多情况下,写案例和文档的工作远大于源代码。
  3. 一些工程上的优化,比如:单元测试、相关的 readme 图标等。

等你 ok 了。回复到这里,或者加钉钉帮你一起看看。

我这边文档和示例都ok了,看这里 https://github.com/Child-qjj/g6-extension-vue

@hustcc
Copy link
Member

hustcc commented Jul 31, 2025

@Child-qjj 来直接加一个 G6 的文档吧,参考 React 这个:https://g6.antv.antgroup.com/manual/element/node/react-node

@Child-qjj
Copy link
Contributor Author

@Child-qjj 来直接加一个 G6 的文档吧,参考 React 这个:https://g6.antv.antgroup.com/manual/element/node/react-node

行,我这两天提个文档的pull request

@hustcc
Copy link
Member

hustcc commented Jul 31, 2025

@Child-qjj 代码写的不错。

感觉下一步,可以直接做一个 vue 上的 graph 组件库,参考 Ant Design Charts 中的关系图组件 https://ant-design-charts.antgroup.com/examples#relations-dendrogram 节点基本使用 Vue / React 写,应该代码量不多。

可以取名叫 vgraph

@Child-qjj
Copy link
Contributor Author

@Child-qjj 代码写的不错。

感觉下一步,可以直接做一个 vue 上的 graph 组件库,参考 Ant Design Charts 中的关系图组件 https://ant-design-charts.antgroup.com/examples#relations-dendrogram 节点基本使用 Vue / React 写,应该代码量不多。

可以取名叫 vgraph

嗯,我后续看看这个

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