Skip to content

Commit

Permalink
docs: update g6 umd link (#5258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca authored Dec 12, 2023
1 parent cc68f81 commit 96016b5
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/behavior.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Here is the complete code:
</head>
<body>
<div id="container"></div>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>
<script>
const { Graph: BaseGraph, extend, Extensions } = G6;
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/behavior.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ graph.on('元素类型:事件名', (e) => {
</head>
<body>
<div id="container"></div>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>
<script>
const { Graph: BaseGraph, extend, Extensions } = G6;
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/elements.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ Here is the complete code:
</head>
<body>
<div id="container"></div>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>
<script>
const { Graph: BaseGraph, extend, Extensions } = G6;

Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/elements.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ const graph = new Graph({
</head>
<body>
<div id="container"></div>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>
<script>
const { Graph: BaseGraph, extend, Extensions } = G6;

Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/layout.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Here is the complete code:
</head>
<body>
<div id="container"></div>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>
<script>
const { Graph: BaseGraph, extend, Extensions } = G6;
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/layout.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const graph = new Graph({
</head>
<body>
<div id="container"></div>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>
<script>
const { Graph: BaseGraph, extend, Extensions } = G6;
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/preface.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Create a new index.html file and add the following code:
</head>
<body>
<!-- Import G6 5.0 beta -->
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>

<script>
console.log(G6);
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/preface.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ G6 是一个图可视化引擎。它提供了图的绘制、布局、分析、
</head>
<body>
<!-- 引入 G6 5.0 beta -->
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>

<script>
console.log(G6);
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/quick-start.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Using G6 in vanilla HTML only requires importing the G6 JS file, as shown below:
<!-- 1. Create container -->
<div id="container"></div>

<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>

<script>
// 2. prepare data
Expand Down
2 changes: 1 addition & 1 deletion packages/site/docs/manual/tutorial/quick-start.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ order: 1
<!-- 1. 创建容器 -->
<div id="container"></div>

<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0/dist/g6.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g6/5.0.0-beta.28/dist/g6.min.js"></script>

<script>
// 2. 准备数据
Expand Down

0 comments on commit 96016b5

Please sign in to comment.