diff --git a/CONTRIBUTING.en-US.md b/CONTRIBUTING.en-US.md index e36f0ebd8a6..d7b6d5c5c53 100644 --- a/CONTRIBUTING.en-US.md +++ b/CONTRIBUTING.en-US.md @@ -17,7 +17,7 @@ There are many ways you can contribute to G6: Before starting to contribute, make sure to: -1. Fork the repository and create your branch from `v5s`. +1. Fork the repository and create your branch from `v5`. 2. If you're adding code, add tests that cover the new functionality/bug fix. 3. Ensure the test suite passes locally. 4. If you've changed APIs, update the documentation. diff --git a/packages/site/docs/manual/tutorial/elements.zh.md b/packages/site/docs/manual/tutorial/elements.zh.md index 3644a2dfbc4..836befe8175 100644 --- a/packages/site/docs/manual/tutorial/elements.zh.md +++ b/packages/site/docs/manual/tutorial/elements.zh.md @@ -171,7 +171,7 @@ const degreeCalculator = (data, options, userGraphCore) => { }; ``` -另外,我们希望可以用颜色表示节点的类别,如果数据中有表示节点类别的字段,后续可以直击诶使用。在这个例子中,我们利用 @antv/algorithm 提供的聚类算法,根据图结构计算节点聚类。同样把它写成一个数据处理器: +另外,我们希望可以用颜色表示节点的类别,如果数据中有表示节点类别的字段,后续可以直接使用。在这个例子中,我们利用 @antv/algorithm 提供的聚类算法,根据图结构计算节点聚类。同样把它写成一个数据处理器: ```javascript const clusteringNodes = (data, options = {}, userGraphCore) => { @@ -355,7 +355,7 @@ const graph = new Graph({ 点击展开完整代码 ```html - +