Skip to content

Commit

Permalink
chore: update links
Browse files Browse the repository at this point in the history
  • Loading branch information
antv committed Oct 22, 2024
1 parent de3d2bf commit 96f4e84
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
[![npm License](https://img.shields.io/npm/l/@antv/g6.svg)](https://www.npmjs.com/package/@antv/g6)

<p align="center">
<a href="https://g6-next.antv.antgroup.com/">Introduction</a> •
<a href="https://g6-next.antv.antgroup.com/examples">Examples</a> •
<a href="https://g6-next.antv.antgroup.com/">Tutorial</a> •
<a href="https://g6-next.antv.antgroup.com/">API</a>
<a href="https://g6.antv.antgroup.com/">Introduction</a> •
<a href="https://g6.antv.antgroup.com/examples">Examples</a> •
<a href="https://g6.antv.antgroup.com/">Tutorial</a> •
<a href="https://g6.antv.antgroup.com/">API</a>
</p>

[G6](https://github.com/antvis/g6) is a graph visualization engine. It provides basic capabilities for graph visualization and analysis such as drawing, layout, analysis, interaction, animation, themes, and plugins. With G6, users can quickly build their own graph visualization and analysis applications, making relational data simple, transparent, and meaningful.
Expand Down Expand Up @@ -105,7 +105,7 @@ For more ecosystem open-source projects, contributions are welcome. Please feel
## 📮 Contributing

- **Issue Reporting**: If you encounter any issues with G6 during use, please feel free to submit an issue, along with the minimal sample code that can reproduce the problem.
- **Contribution Guide**: Information on how to get involved in the [development and contribution](https://g6-next.antv.antgroup.com/en/manual/contribute) to G6.
- **Contribution Guide**: Information on how to get involved in the [development and contribution](https://g6.antv.antgroup.com/en/manual/contribute) to G6.
- **Ideas Discussion**: Discuss your ideas on GitHub Discussions or in the DingTalk group.

<div align="center">
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
[![npm License](https://img.shields.io/npm/l/@antv/g6.svg)](https://www.npmjs.com/package/@antv/g6)

<p align="center">
<a href="https://g6-next.antv.antgroup.com/">介绍</a> •
<a href="https://g6-next.antv.antgroup.com/examples">案例</a> •
<a href="https://g6-next.antv.antgroup.com/">教程</a> •
<a href="https://g6-next.antv.antgroup.com/">API</a>
<a href="https://g6.antv.antgroup.com/">介绍</a> •
<a href="https://g6.antv.antgroup.com/examples">案例</a> •
<a href="https://g6.antv.antgroup.com/">教程</a> •
<a href="https://g6.antv.antgroup.com/">API</a>
</p>

[G6](https://github.com/antvis/g6) 是一个图可视化引擎。它提供了图的绘制、布局、分析、交互、动画、主题、插件等图可视化和分析的基础能力。基于 G6,用户可以快速搭建自己的图可视化分析应用,让关系数据变得简单,透明,有意义。
Expand Down Expand Up @@ -105,7 +105,7 @@ graph.render();
## 📮 贡献

- **问题反馈**:使用过程遇到的 G6 的问题,欢迎提交 Issue,并附上可以复现问题的最小案例代码。
- **贡献指南**:如何参与到 G6 的[开发和贡献](https://g6-next.antv.antgroup.com/manual/contribute)
- **贡献指南**:如何参与到 G6 的[开发和贡献](https://g6.antv.antgroup.com/manual/contribute)
- **想法讨论**:在 GitHub Discussion 上或者钉钉群里面讨论。

<div>
Expand Down
4 changes: 2 additions & 2 deletions packages/g6-extension-3d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ const graph = new Graph({

## Resources

- [Lite Solar System](https://g6-next.antv.antgroup.com/en/examples/feature/default/#lite-solar-system)
- [3D Node](https://g6-next.antv.antgroup.com/en/examples/element/node/#3d-node)
- [Lite Solar System](https://g6.antv.antgroup.com/en/examples/feature/default/#lite-solar-system)
- [3D Node](https://g6.antv.antgroup.com/en/examples/element/node/#3d-node)
4 changes: 2 additions & 2 deletions packages/g6-extension-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ ReactNode is a React component, while GNode support jsx syntax but can only use

## Resources

- [React node](https://g6-next.antv.antgroup.com/examples/element/custom-node/#react-node)
- [G node with JSX syntax](https://g6-next.antv.antgroup.com/en/examples/element/custom-node/#react-g)
- [React node](https://g6.antv.antgroup.com/examples/element/custom-node/#react-node)
- [G node with JSX syntax](https://g6.antv.antgroup.com/en/examples/element/custom-node/#react-g)
4 changes: 2 additions & 2 deletions packages/site/.dumi/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ notification.info({
description: (
<>
您目前访问的是 G6 最新版本,旧版已迁移至:
<a href="https://g6.antv.vision" target="_blank">
g6.antv.vision
<a href="https://g6-v4.antv.vision" target="_blank">
g6-v4.antv.vision
</a>
</>
),
Expand Down
6 changes: 3 additions & 3 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export default defineConfig({
},
versions: {
// 历史版本以及切换下拉菜单
[version]: 'https://g6-next.antv.antgroup.com',
'4.x': 'https://g6.antv.antgroup.com',
[version]: 'https://g6.antv.antgroup.com',
'4.x': 'https://g6-v4.antv.vision',
'3.2.x': 'https://g6-v3-2.antv.vision',
},
docsearchOptions: {
Expand Down Expand Up @@ -85,7 +85,7 @@ export default defineConfig({
},
},
{
url: 'https://g6-next.antv.antgroup.com',
url: 'https://g6.antv.antgroup.com',
name: {
zh: '国内镜像',
en: 'Site in China',
Expand Down
4 changes: 2 additions & 2 deletions packages/site/docs/manual/faq.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ Use `new Graph({xxx})` uniformly.

> In v5, built-in layouts include `antv-dagre` `combo-combined` `compact-box` `force-atlas2` `circular` `concentric` `d3-force` `dagre` `dendrogram` `force` `fruchterman` `grid` `indented` `mds` `mindmap` `radial` `random`. [Specific reference](https://github.com/antvis/G6/blob/6e2355020c20b3a1e2e5ca0e0ee97aeb81f932b3/packages/g6/src/registry/build-in.ts#L147)
v5 merges the graph and tree graph, no longer creates the tree graph layout by instantiating `G6.TreeGraph`, and removes this method. For details, see [Features - Merge Graph and Tree Graph](https://g6-next.antv.antgroup.com/manual/feature#-%E5%90%88%E5%B9%B6%E5%9B%BE%E4%B8%8E%E6%A0%91%E5%9B%BE)
v5 merges the graph and tree graph, no longer creates the tree graph layout by instantiating `G6.TreeGraph`, and removes this method. For details, see [Features - Merge Graph and Tree Graph](https://g6.antv.antgroup.com/manual/feature#-%E5%90%88%E5%B9%B6%E5%9B%BE%E4%B8%8E%E6%A0%91%E5%9B%BE)

### edge does not have a connection at the center of the node

is configured [portLinkToCenter](https://g6-next.antv.antgroup.com/api/elements/nodes/base-node#portlinktocenter) to `true`.
is configured [portLinkToCenter](https://g6.antv.antgroup.com/api/elements/nodes/base-node#portlinktocenter) to `true`.

```typescript {6}
const graph = new Graph({
Expand Down
4 changes: 2 additions & 2 deletions packages/site/docs/manual/faq.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ const graph = new Graph({

> 在 v5 中内置布局有`antv-dagre` `combo-combined` `compact-box` `force-atlas2` `circular` `concentric` `d3-force` `dagre` `dendrogram` `force` `fruchterman` `grid` `indented` `mds` `mindmap` `radial` `random`. [具体参考](https://github.com/antvis/G6/blob/6e2355020c20b3a1e2e5ca0e0ee97aeb81f932b3/packages/g6/src/registry/build-in.ts#L147)
v5合并了图和树图,不再通过实例化`G6.TreeGraph`创建树图布局,并且移除该方式。具体参考[特性-合并图与树图](https://g6-next.antv.antgroup.com/manual/feature#-%E5%90%88%E5%B9%B6%E5%9B%BE%E4%B8%8E%E6%A0%91%E5%9B%BE)
v5合并了图和树图,不再通过实例化`G6.TreeGraph`创建树图布局,并且移除该方式。具体参考[特性-合并图与树图](https://g6.antv.antgroup.com/manual/feature#-%E5%90%88%E5%B9%B6%E5%9B%BE%E4%B8%8E%E6%A0%91%E5%9B%BE)

### edge 没有连接在 node 的边缘中心

配置[portLinkToCenter](https://g6-next.antv.antgroup.com/api/elements/nodes/base-node#portlinktocenter)`true`
配置[portLinkToCenter](https://g6.antv.antgroup.com/api/elements/nodes/base-node#portlinktocenter)`true`

```typescript {6}
const graph = new Graph({
Expand Down

0 comments on commit 96f4e84

Please sign in to comment.