Skip to content

Commit

Permalink
docs: update the urls about vision to antgroup (#4072)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanyan-Wang authored Nov 17, 2022
1 parent 525631c commit 58ebfa9
Show file tree
Hide file tree
Showing 32 changed files with 71 additions and 71 deletions.
8 changes: 4 additions & 4 deletions README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## Documents

- <a href='https://g6.antv.vision/en/docs/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.vision/en/docs/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.vision/en/docs/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.vision/en/docs/api/Graph' target='_blank'>API Reference</a>
- <a href='https://g6.antv.antgroup.com/en/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.antgroup.com/en/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.antgroup.com/en/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.antgroup.com/en/api/graph' target='_blank'>API Reference</a>

## React project integration

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## 文档

- <a href='https://g6.antv.vision/zh/docs/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.vision/zh/docs/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.vision/zh/docs/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.vision/zh/docs/api/Graph' target='_blank'>API</a>
- <a href='https://g6.antv.antgroup.com/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.antgroup.com/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.antgroup.com/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.antgroup.com/api/graph' target='_blank'>API</a>

## React 项目集成

Expand Down
8 changes: 4 additions & 4 deletions packages/core/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## Documents

- <a href='https://g6.antv.vision/en/docs/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.vision/en/docs/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.vision/en/docs/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.vision/en/docs/api/Graph' target='_blank'>API Reference</a>
- <a href='https://g6.antv.antgroup.com/en/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.antgroup.com/en/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.antgroup.com/en/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.antgroup.com/en/api/graph' target='_blank'>API Reference</a>

## G6 Communication Group

Expand Down
8 changes: 4 additions & 4 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## 文档

- <a href='https://g6.antv.vision/zh/docs/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.vision/zh/docs/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.vision/zh/docs/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.vision/zh/docs/api/Graph' target='_blank'>API</a>
- <a href='https://g6.antv.antgroup.com/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.antgroup.com/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.antgroup.com/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.antgroup.com/api/graph' target='_blank'>API</a>

## G6 图可视化交流群

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"graph visualization",
"relational data"
],
"homepage": "https://g6.antv.vision",
"homepage": "https://g6.antv.antgroup.com/",
"bugs": {
"url": "https://github.com/antvis/g6/issues"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type CommonInteractionEvent =
| 'dragenter'
| 'dragleave'
| 'dragover'
| 'dragout' // TODO: not in documentation page: https://g6.antv.vision/en/docs/api/Event/
| 'dragout' // TODO: not in documentation page: https://g6.antv.antgroup.com/en/api/Event/
| 'drop'
| 'focus'
| 'blur'
Expand Down Expand Up @@ -116,8 +116,8 @@ export type CanvasInteractionEvent =
* Canvas Intereaction events
*
* @example
* English: https://g6.antv.vision/en/docs/api/Event
* Chinese: https://g6.antv.vision/zh/docs/api/Event
* English: https://g6.antv.antgroup.com/en/api/Event
* Chinese: https://g6.antv.antgroup.com/api/Event
*/
export type GraphTimingEvents =
| 'beforerender'
Expand Down Expand Up @@ -183,7 +183,7 @@ export type MobileInteractionEventType = MobileInteractionEvent;
* Graph interaction events
*
* @example
* https://g6.antv.vision/en/docs/api/Event#combo-interaction-event
* https://g6.antv.antgroup.com/en/api/Event#combo-interaction-event
*/
export type G6Event = NodeEventType | EdgeEventType | ComboEventType | CanvasEventType | GraphTimingEventType | MobileInteractionEventType | CommonInteractionEvent | CommonInteractionEvent | (string & {});

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/util/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const calculationItemsBBox = (items: Item[]) => {

/**
* 若 edges 中存在两端点相同的边,使用 quadratic 边并自动计算 curveOffset 使它们不相互重叠
* 文档: https://g6.antv.vision/en/docs/api/Util
* 文档: https://g6.antv.antgroup.com/en/api/Util
* @param edges 边数据集合
* @param offsetDiff 相邻两边的 offset 之差
* @param multiEdgeType
Expand Down
8 changes: 4 additions & 4 deletions packages/element/README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## 文档

- <a href='https://g6.antv.vision/zh/docs/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.vision/zh/docs/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.vision/zh/docs/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.vision/zh/docs/api/Graph' target='_blank'>API</a>
- <a href='https://g6.antv.antgroup.com/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.antgroup.com/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.antgroup.com/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.antgroup.com/api/graph' target='_blank'>API</a>

## G6 图可视化交流群

Expand Down
8 changes: 4 additions & 4 deletions packages/element/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## Documents

- <a href='https://g6.antv.vision/en/docs/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.vision/en/docs/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.vision/en/docs/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.vision/en/docs/api/Graph' target='_blank'>API Reference</a>
- <a href='https://g6.antv.antgroup.com/en/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.antgroup.com/en/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.antgroup.com/en/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.antgroup.com/en/api/Graph' target='_blank'>API Reference</a>

## G6 Communication Group

Expand Down
2 changes: 1 addition & 1 deletion packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"graph visualization",
"relational data"
],
"homepage": "https://g6.antv.vision",
"homepage": "https://g6.antv.antgroup.com",
"bugs": {
"url": "https://github.com/antvis/g6/issues"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/g6/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## Documents

- <a href='https://g6.antv.vision/en/docs/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.vision/en/docs/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.vision/en/docs/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.vision/en/docs/api/Graph' target='_blank'>API Reference</a>
- <a href='https://g6.antv.antgroup.com/en/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.antgroup.com/en/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.antgroup.com/en/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.antgroup.com/en/api/Graph' target='_blank'>API Reference</a>

## React project integration

Expand Down
8 changes: 4 additions & 4 deletions packages/g6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## 文档

- <a href='https://g6.antv.vision/zh/docs/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.vision/zh/docs/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.vision/zh/docs/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.vision/zh/docs/api/Graph' target='_blank'>API</a>
- <a href='https://g6.antv.antgroup.com/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.antgroup.com/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.antgroup.com/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.antgroup.com/api/graph' target='_blank'>API</a>

## React 项目集成

Expand Down
2 changes: 1 addition & 1 deletion packages/g6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"graph visualization",
"relational data"
],
"homepage": "https://g6.antv.vision",
"homepage": "https://g6.antv.antgroup.com",
"bugs": {
"url": "https://github.com/antvis/g6/issues"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/pc/README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## 文档

- <a href='https://g6.antv.vision/zh/docs/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.vision/zh/docs/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.vision/zh/docs/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.vision/zh/docs/api/Graph' target='_blank'>API</a>
- <a href='https://g6.antv.antgroup.com/manual/tutorial/preface' target='_blank'>入门教程</a>
- <a href='https://g6.antv.antgroup.com/manual/middle/overview' target='_blank'>核心概念</a>
- <a href='https://g6.antv.antgroup.com/manual/advanced/coordinate-system' target='_blank'>扩展阅读</a>
- <a href='https://g6.antv.antgroup.com/api/Graph' target='_blank'>API</a>

## G6 图可视化交流群

Expand Down
8 changes: 4 additions & 4 deletions packages/pc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ DEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec

## Documents

- <a href='https://g6.antv.vision/en/docs/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.vision/en/docs/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.vision/en/docs/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.vision/en/docs/api/Graph' target='_blank'>API Reference</a>
- <a href='https://g6.antv.antgroup.com/en/manual/tutorial/preface' target='_blank'>Tutorial</a>
- <a href='https://g6.antv.antgroup.com/en/manual/middle/overview' target='_blank'>Middle Guides</a>
- <a href='https://g6.antv.antgroup.com/en/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>
- <a href='https://g6.antv.antgroup.com/en/api/Graph' target='_blank'>API Reference</a>

## G6 Communication Group

Expand Down
2 changes: 1 addition & 1 deletion packages/pc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"graph visualization",
"relational data"
],
"homepage": "https://g6.antv.vision",
"homepage": "https://g6.antv.antgroup.com",
"bugs": {
"url": "https://github.com/antvis/g6/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default defineConfig({
showAPIDoc: true, // 是否在 demo 页展示API文档
themeSwitcher: 'g2',
versions: { // 历史版本以及切换下拉菜单
[version]: 'https://g6.antv.vision',
[version]: 'https://g6.antv.antgroup.com',
'3.2.x': 'https://g6-v3-2.antv.vision',
},
docsearchOptions: { // 头部搜索框配置
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/api/Plugins.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ All the three types of timebar supports play, fast forward, and fast backward.
<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*kHRkQpnvBmwAAAAAAAAAAAAAARQnAQ' width='500' />
<br />Time bar with descrete ticks<br />

<br />Refer to the demos [HERE](https://g6.antv.vision/en/examples/tool/timebar#timebar)<br />
<br />Refer to the demos [HERE](https://g6.antv.antgroup.com/en/examples/tool/timebar#timebar)<br />

### Common Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/api/Plugins.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ const graph = new G6.Graph({

<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*17VoSoTm9o8AAAAAAAAAAAAAARQnAQ' width='500' />

<br />虽然 G6 提供了各种不同类型的 TimeBar 组件,但在使用的方式却非常简单,通过配置字段就可以进行区分。<br /> <br />关于 TimeBar 的使用案例,请参考[这里](https://g6.antv.vision/zh/examples/tool/timebar#timebar)。<br />
<br />虽然 G6 提供了各种不同类型的 TimeBar 组件,但在使用的方式却非常简单,通过配置字段就可以进行区分。<br /> <br />关于 TimeBar 的使用案例,请参考[这里](https://g6.antv.antgroup.com/examples/tool/timebar#timebar)。<br />

### 使用 TimeBar 组件

Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/api/graphFunc/transform.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Change the scale of the graph with a relative ratio.
// zoom to scale 3 at the center (100, 100)
graph.zoom(3, { x: 100, y: 100 });

// zoom to scale 0.5 at the origin (0, 0) of canvas drawing coordinate system, which is not the same as the lefttop of the viewport. To see the transformantion and relationships between three coordinate systems in G6, checkout out the doc: https://g6.antv.vision/en/docs/manual/advanced/coordinate-system
// zoom to scale 0.5 at the origin (0, 0) of canvas drawing coordinate system, which is not the same as the lefttop of the viewport. To see the transformantion and relationships between three coordinate systems in G6, checkout out the doc: https://g6.antv.antgroup.com/en/manual/advanced/coordinate-system
graph.zoom(0.5);

// zoom to scale 3 at the center (100, 100) with animation
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/api/graphFunc/transform.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const zoom = graph.getZoom();
// 以 (100, 100) 为中心点,放大到 3
graph.zoom(3, { x: 100, y: 100 });

// 以绘制坐标系的原点 (0, 0) 为缩放中心,缩小到 0.5。注意绘制坐标系的原点 != 视窗左上角,可用 graph.getCanvasByViewport 进行转换。各坐标系解析文档: https://g6.antv.vision/zh/docs/manual/advanced/coordinate-system
// 以绘制坐标系的原点 (0, 0) 为缩放中心,缩小到 0.5。注意绘制坐标系的原点 != 视窗左上角,可用 graph.getCanvasByViewport 进行转换。各坐标系解析文档: https://g6.antv.antgroup.com/manual/advanced/coordinate-system
graph.zoom(0.5);

// 带动画以 (100, 100) 为中心点,放大到 3
Expand Down
6 changes: 3 additions & 3 deletions packages/site/docs/design/component/timebar.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ order: 1

### 趋势图时间轴

该时间轴包括但不限于折线图、面积图、柱状图中的一种或多种组合用来表示某种数据属性趋势的时间轴组件,[查看演示 Demo](https://g6.antv.vision/zh/examples/tool/timebar/#timebar)
该时间轴包括但不限于折线图、面积图、柱状图中的一种或多种组合用来表示某种数据属性趋势的时间轴组件,[查看演示 Demo](https://g6.antv.antgroup.com/examples/tool/timebar#timebar)

<br/>
<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*bET1QI0dleEAAAAAAAAAAAAAARQnAQ' width='95%' alt=‘img’>
Expand All @@ -28,14 +28,14 @@ order: 1

### 简版时间轴

相对于趋势图时间轴而言,去掉了表示数据趋势的图表,使用更为简洁的线条来表示时间范围,[查看演示 Demo](https://g6.antv.vision/zh/examples/tool/timebar#simple-timebar)
相对于趋势图时间轴而言,去掉了表示数据趋势的图表,使用更为简洁的线条来表示时间范围,[查看演示 Demo](https://g6.antv.antgroup.com/examples/tool/timebar#simple-timebar)

<br/>
<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*yTC2RKh3-U8AAAAAAAAAAAAAARQnAQ' width='95%' alt=‘img’>

### 时间刻度时间轴

指表示时间刻度的时间轴组件,[查看演示 Demo](https://g6.antv.vision/zh/examples/tool/timebar#slice-timebar)
指表示时间刻度的时间轴组件,[查看演示 Demo](https://g6.antv.antgroup.com/examples/tool/timebar#slice-timebar)

<br/>
<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*-hESSqWf8h4AAAAAAAAAAAAAARQnAQ' width='95%' alt=‘img’>
Expand Down
Loading

0 comments on commit 58ebfa9

Please sign in to comment.