You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by gi...@apache.org on 2025/11/17 11:33:12 UTC
(incubator-hugegraph-doc) branch asf-site updated: chore: add docker using / add load data methods (#423) 6599d1f35ac640391442376c0667013830dfe626
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 4a8f1053 chore: add docker using / add load data methods (#423) 6599d1f35ac640391442376c0667013830dfe626
4a8f1053 is described below
commit 4a8f105312864bcd72ac09972ed47443b160d44a
Author: imbajin <im...@users.noreply.github.com>
AuthorDate: Mon Nov 17 11:33:06 2025 +0000
chore: add docker using / add load data methods (#423) 6599d1f35ac640391442376c0667013830dfe626
---
cn/docs/_print/index.html | 143 ++++++++++++++++--
cn/docs/index.xml | 168 ++++++++++++++++++++-
cn/docs/quickstart/_print/index.html | 143 ++++++++++++++++--
cn/docs/quickstart/computing/_print/index.html | 143 ++++++++++++++++--
.../computing/hugegraph-vermeer/index.html | 163 ++++++++++++++++----
cn/docs/quickstart/computing/index.xml | 168 ++++++++++++++++++++-
cn/sitemap.xml | 2 +-
docs/_print/index.html | 141 +++++++++++++++--
docs/index.xml | 168 ++++++++++++++++++++-
docs/quickstart/_print/index.html | 141 +++++++++++++++--
docs/quickstart/computing/_print/index.html | 141 +++++++++++++++--
.../computing/hugegraph-vermeer/index.html | 147 ++++++++++++++++--
docs/quickstart/computing/index.xml | 168 ++++++++++++++++++++-
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
15 files changed, 1681 insertions(+), 159 deletions(-)
diff --git a/cn/docs/_print/index.html b/cn/docs/_print/index.html
index 03b71b2c..f1d4f3c0 100644
--- a/cn/docs/_print/index.html
+++ b/cn/docs/_print/index.html
@@ -1630,32 +1630,147 @@ HugeGraph Toolchain 版本:toolchain-1.0.0</p></blockquote><p><code>spark-load
</span></span><span style=display:flex><span> F[自然语言查询] --> G[在向量数据库中搜索最相似的查询\n(如果向量数据库中不存在 Gremlin 对,\n将自动使用默认文件进行向量化)\n并检索对应的 Gremlin]
</span></span><span style=display:flex><span> G --> H[将匹配的对添加到提示词中\n并使用 LLM 生成与自然语言查询\n对应的 Gremlin]
</span></span></code></pre></div><h3 id=第二部分的输入字段>第二部分的输入字段:</h3><ul><li><strong>自然语言查询:</strong> 输入要转换为 Gremlin 的自然语言文本。</li></ul><p><img src=https://github.com/user-attachments/assets/d2a72f45-488c-4499-968b-a11816655ba0 alt=image></p><ul><li><strong>Schema:</strong> 输入图 schema。</li></ul><h3 id=执行流程-2>执行流程:</h3><ol><li>在<strong>自然语言查询</strong>字段中输入<strong>查询</strong>(自然语言)。</li><li>在<strong>Schema</strong>字段中输入<strong>图 schema</strong>。</li><li>点击<strong>Text2Gremlin</strong>按钮,执行以下逻辑: [...]
-</code></pre><h1 id=5-图工具>5. 图工具</h1><p>输入 Gremlin 查询以执行相应操作。</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>3.4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>3.4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=一vermeer-概述>一、Vermeer 概述</h2><h3 id=11-运行架构>1.1 运行架构</h3><p>Vermeer 是一个 <code>Go</code>编写的高性能内存优先的图计算框架 (一次启动,任意执行),支持 15+ OLAP 图算法的极速计算 (大部分秒~分钟级别完成执行),包含 master 和 wor [...]
+</code></pre><h1 id=5-图工具>5. 图工具</h1><p>输入 Gremlin 查询以执行相应操作。</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>3.4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>3.4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=一vermeer-概述>一、Vermeer 概述</h2><h3 id=11-运行架构>1.1 运行架构</h3><p>Vermeer 是一个 <code>Go</code>编写的高性能内存优先的图计算框架 (一次启动,任意执行),支持 15+ OLAP 图算法的极速计算 (大部分秒~分钟级别完成执行),包含 master 和 wor [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>修改 docker-compose.yaml</p><ul><li><strong>Volume</strong>:例如将两处 ~/:/go/bin/config 改为 /home/user/config:/go/bin/config(或您自己的配置目录)。</li><li><strong>Subnet</strong>:根据实际情况修改子网IP。请注意,每个容器需要访问的端口在config文件中指定,具体请参照项目<code>config</code>文件夹下内容。</li></ul><p>在项目目录构建镜像并启动(或者先用 docker build 再 docker-compose up)</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 启动(在 vermeer 根目录)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 或使用新版 CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>方案二:通过 docker run 单独启动(手动创建网络并分配静态 IP)</strong></li></ol><p>确保CONFIG_DIR对Docker进程具有适当的读取/执行权限。</p><p>构建镜像:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>创建自定义 bridge 网络(一次性操作):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>运行 master(调整 CONFIG_DIR 为您的绝对配置路径,可以根据实际情况调整IP):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>运行 worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 删除自定义网络(如果需要)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>方案三:从源码构建</strong></li></ol><p>构建。具体请参照<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p><h2 id=二任务创建类-rest-api>二、任务创建类 rest api</h2><h3 id=21-简介>2.1 简介</h3><p>此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除�
�口仅在 loaded 和 error 状态且该图无计算任务时可用。< [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>从hugegraph加载</li></ol><p><strong>request 示例:</strong></p><p>⚠️ 安全警告:切勿在配置文件或代码中存储真实密码。请改用环境变量或安全的凭据管理系统。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f59 [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>从hdfs加载</li></ol><p><strong>request 示例:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-输出计算结果>2.3 输出计算结果</h3><p>所有的 vermeer 计算任务均支持多种结果输出方式,可自定义输出方式:local、hdfs、afs 或 hugegraph,在发送请求时的 params 参数下加入对应参数,即可生效。指定 output.need_statistics 为 1 时,支持计算结果统计信息输出,结果会写在接口任务信息内。统计模式算子目前支持 “count” 和 “modularity” 。但仅针对社区发现算法适用。</p><p>具体参数参考 Vermeer 参数列表文档。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lan [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=三支持的算法>三、支持的算法</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>PageRank 算法又称网页排名算法,是一种由搜索引擎根据网页(节点)之间相互的超链接进行计算的技</p><p>术,用来体现网页(节点)的相关性和重要性。</p><ul><li>如果一个网页被很多其他网页链接到,说明这个网页比较重要,也就是其 PageRank 值会相对较高。</li><li>如果一个 PageRank 值很高的网页链接到其他网页,那么被链接到的网页的 PageRank 值会相应地提高。</li></ul><p>PageRank 算法适用于网页排序、社交网络重点人物发掘等场景。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=l [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/cn/docs/index.xml b/cn/docs/index.xml
index 48a0842b..6f843596 100644
--- a/cn/docs/index.xml
+++ b/cn/docs/index.xml
@@ -2195,7 +2195,111 @@ HugeGraph 支持多用户并行操作,用户可输入 Gremlin 查询语句,
<p>master 是负责通信、转发、汇总的节点,计算量和占用资源量较少。worker 是计算节点,用于存储图数据和运行计算任务,占用大量内存和 cpu。grpc 和 rest 模块分别负责内部通信和外部调用。</p>
<p>该框架的运行配置可以通过命令行参数传入,也可以通过位于 <code>config/</code> 目录下的配置文件指定,<code>--env</code> 参数可以指定使用哪个配置文件,例如 <code>--env=master</code> 指定使用 <code>master.ini</code>。需要注意 master 需要指定监听的端口号,worker 需要指定监听端口号和 master 的 <code>ip:port</code>。</p>
<h3 id="12-运行方法">1.2 运行方法</h3>
-<p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p>
+<ol>
+<li><strong>方案一:Docker Compose(推荐)</strong></li>
+</ol>
+<p>确保docker-compose.yaml存在于您的项目根目录中。如果没有,以下是一个示例:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># contributor license agreements. See the NOTICE file distributed with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># this work for additional information regarding copyright ownership.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># (the &#34;License&#34;); you may not use this file except in compliance with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># the License. You may obtain a copy of the License at</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># http://www.apache.org/licenses/LICENSE-2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Unless required by applicable law or agreed to in writing, software</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># distributed under the License is distributed on an &#34;AS IS&#34; BASIS,</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># See the License for the specific language governing permissions and</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># limitations under the License.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">services</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-master</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/.config:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.10</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:# [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-worker</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.11</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:# [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">driver</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">bridge</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipam</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">config</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#204a87;font-weight:bold">subnet</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.0</span><span style="color:#000">/24</span><span style="color:#f8f8f8;text-decoration:underline [...]
+</span></span></span></code></pre></div><p>修改 docker-compose.yaml</p>
+<ul>
+<li><strong>Volume</strong>:例如将两处 ~/:/go/bin/config 改为 /home/user/config:/go/bin/config(或您自己的配置目录)。</li>
+<li><strong>Subnet</strong>:根据实际情况修改子网IP。请注意,每个容器需要访问的端口在config文件中指定,具体请参照项目<code>config</code>文件夹下内容。</li>
+</ul>
+<p>在项目目录构建镜像并启动(或者先用 docker build 再 docker-compose up)</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 构建镜像(在项目根 vermeer 目录)</span>
+</span></span><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 启动(在 vermeer 根目录)</span>
+</span></span><span style="display:flex;"><span>docker-compose up -d
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 或使用新版 CLI:</span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># docker compose up -d</span>
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker-compose logs -f
+</span></span><span style="display:flex;"><span>docker-compose down
+</span></span></code></pre></div><ol start="2">
+<li><strong>方案二:通过 docker run 单独启动(手动创建网络并分配静态 IP)</strong></li>
+</ol>
+<p>确保CONFIG_DIR对Docker进程具有适当的读取/执行权限。</p>
+<p>构建镜像:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>创建自定义 bridge 网络(一次性操作):</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker network create --driver bridge <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --subnet 172.20.0.0/24 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> vermeer_network
+</span></span></code></pre></div><p>运行 master(调整 CONFIG_DIR 为您的绝对配置路径,可以根据实际情况调整IP):</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#000">CONFIG_DIR</span><span style="color:#ce5c00;font-weight:bold">=</span>/home/user/config
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-master <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.10 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>master
+</span></span></code></pre></div><p>运行 worker:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-worker <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.11 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>worker
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker logs -f vermeer-master
+</span></span><span style="display:flex;"><span>docker logs -f vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker stop vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>docker rm vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 删除自定义网络(如果需要)</span>
+</span></span><span style="display:flex;"><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start="3">
+<li><strong>方案三:从源码构建</strong></li>
+</ol>
+<p>构建。具体请参照<a href="https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer">Vermeer Readme</a>。</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>go build
+</span></span></code></pre></div><p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p>
<h2 id="二任务创建类-rest-api">二、任务创建类 rest api</h2>
<h3 id="21-简介">2.1 简介</h3>
<p>此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除接口仅在 loaded 和 error 状态且该图无计算任务时可用。</p>
@@ -2206,7 +2310,11 @@ HugeGraph 支持多用户并行操作,用户可输入 Gremlin 查询语句,
</ul>
<h3 id="22-加载图数据">2.2 加载图数据</h3>
<p>具体参数参考 Vermeer 参数列表文档。</p>
-<p>request 示例:</p>
+<p>vermeer提供三种加载方式:</p>
+<ol>
+<li>从本地加载</li>
+</ol>
+<p><strong>request 示例:</strong></p>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
@@ -2220,6 +2328,50 @@ HugeGraph 支持多用户并行操作,用户可输入 Gremlin 查询语句,
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="2">
+<li>从hugegraph加载</li>
+</ol>
+<p><strong>request 示例:</strong></p>
+<p>⚠️ 安全警告:切勿在配置文件或代码中存储真实密码。请改用环境变量或安全的凭据管理系统。</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hugegraph&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hg_pd_peers&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;[\&#34;&lt;your-hugegraph-ip&gt;:8686\&#34;]&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;DEFAULT/hugegraph2/g&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_username&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;admin&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_password&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;&lt;your-password-here&gt;&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="3">
+<li>从hdfs加载</li>
+</ol>
+<p><strong>request 示例:</strong></p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hdfs&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_namenode&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;name_node1:9000&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_realm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;user@EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_keytab_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/keytab&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/krb5.conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_use_krb&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.vertex_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/vertices&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.edge_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/edges&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h3 id="23-输出计算结果">2.3 输出计算结果</h3>
<p>所有的 vermeer 计算任务均支持多种结果输出方式,可自定义输出方式:local、hdfs、afs 或 hugegraph,在发送请求时的 params 参数下加入对应参数,即可生效。指定 output.need_statistics 为 1 时,支持计算结果统计信息输出,结果会写在接口任务信息内。统计模式算子目前支持 &ldquo;count&rdquo; 和 &ldquo;modularity&rdquo; 。但仅针对社区发现算法适用。</p>
<p>具体参数参考 Vermeer 参数列表文档。</p>
@@ -2230,13 +2382,13 @@ HugeGraph 支持多用户并行操作,用户可输入 Gremlin 查询语句,
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.algorithm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;pagerank&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
-</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h2 id="三支持的算法">三、支持的算法</h2>
<h3 id="31-pagerank">3.1 PageRank</h3>
<p>PageRank 算法又称网页排名算法,是一种由搜索引擎根据网页(节点)之间相互的超链接进行计算的技</p>
diff --git a/cn/docs/quickstart/_print/index.html b/cn/docs/quickstart/_print/index.html
index 749b0433..09b1599a 100644
--- a/cn/docs/quickstart/_print/index.html
+++ b/cn/docs/quickstart/_print/index.html
@@ -1619,32 +1619,147 @@ HugeGraph Toolchain 版本:toolchain-1.0.0</p></blockquote><p><code>spark-load
</span></span><span style=display:flex><span> F[自然语言查询] --> G[在向量数据库中搜索最相似的查询\n(如果向量数据库中不存在 Gremlin 对,\n将自动使用默认文件进行向量化)\n并检索对应的 Gremlin]
</span></span><span style=display:flex><span> G --> H[将匹配的对添加到提示词中\n并使用 LLM 生成与自然语言查询\n对应的 Gremlin]
</span></span></code></pre></div><h3 id=第二部分的输入字段>第二部分的输入字段:</h3><ul><li><strong>自然语言查询:</strong> 输入要转换为 Gremlin 的自然语言文本。</li></ul><p><img src=https://github.com/user-attachments/assets/d2a72f45-488c-4499-968b-a11816655ba0 alt=image></p><ul><li><strong>Schema:</strong> 输入图 schema。</li></ul><h3 id=执行流程-2>执行流程:</h3><ol><li>在<strong>自然语言查询</strong>字段中输入<strong>查询</strong>(自然语言)。</li><li>在<strong>Schema</strong>字段中输入<strong>图 schema</strong>。</li><li>点击<strong>Text2Gremlin</strong>按钮,执行以下逻辑: [...]
-</code></pre><h1 id=5-图工具>5. 图工具</h1><p>输入 Gremlin 查询以执行相应操作。</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=一vermeer-概述>一、Vermeer 概述</h2><h3 id=11-运行架构>1.1 运行架构</h3><p>Vermeer 是一个 <code>Go</code>编写的高性能内存优先的图计算框架 (一次启动,任意执行),支持 15+ OLAP 图算法的极速计算 (大部分秒~分钟级别完成执行),包含 master 和 worker [...]
+</code></pre><h1 id=5-图工具>5. 图工具</h1><p>输入 Gremlin 查询以执行相应操作。</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=一vermeer-概述>一、Vermeer 概述</h2><h3 id=11-运行架构>1.1 运行架构</h3><p>Vermeer 是一个 <code>Go</code>编写的高性能内存优先的图计算框架 (一次启动,任意执行),支持 15+ OLAP 图算法的极速计算 (大部分秒~分钟级别完成执行),包含 master 和 worker [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>修改 docker-compose.yaml</p><ul><li><strong>Volume</strong>:例如将两处 ~/:/go/bin/config 改为 /home/user/config:/go/bin/config(或您自己的配置目录)。</li><li><strong>Subnet</strong>:根据实际情况修改子网IP。请注意,每个容器需要访问的端口在config文件中指定,具体请参照项目<code>config</code>文件夹下内容。</li></ul><p>在项目目录构建镜像并启动(或者先用 docker build 再 docker-compose up)</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 启动(在 vermeer 根目录)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 或使用新版 CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>方案二:通过 docker run 单独启动(手动创建网络并分配静态 IP)</strong></li></ol><p>确保CONFIG_DIR对Docker进程具有适当的读取/执行权限。</p><p>构建镜像:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>创建自定义 bridge 网络(一次性操作):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>运行 master(调整 CONFIG_DIR 为您的绝对配置路径,可以根据实际情况调整IP):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>运行 worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 删除自定义网络(如果需要)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>方案三:从源码构建</strong></li></ol><p>构建。具体请参照<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p><h2 id=二任务创建类-rest-api>二、任务创建类 rest api</h2><h3 id=21-简介>2.1 简介</h3><p>此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除�
�口仅在 loaded 和 error 状态且该图无计算任务时可用。< [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>从hugegraph加载</li></ol><p><strong>request 示例:</strong></p><p>⚠️ 安全警告:切勿在配置文件或代码中存储真实密码。请改用环境变量或安全的凭据管理系统。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f59 [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>从hdfs加载</li></ol><p><strong>request 示例:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-输出计算结果>2.3 输出计算结果</h3><p>所有的 vermeer 计算任务均支持多种结果输出方式,可自定义输出方式:local、hdfs、afs 或 hugegraph,在发送请求时的 params 参数下加入对应参数,即可生效。指定 output.need_statistics 为 1 时,支持计算结果统计信息输出,结果会写在接口任务信息内。统计模式算子目前支持 “count” 和 “modularity” 。但仅针对社区发现算法适用。</p><p>具体参数参考 Vermeer 参数列表文档。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lan [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=三支持的算法>三、支持的算法</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>PageRank 算法又称网页排名算法,是一种由搜索引擎根据网页(节点)之间相互的超链接进行计算的技</p><p>术,用来体现网页(节点)的相关性和重要性。</p><ul><li>如果一个网页被很多其他网页链接到,说明这个网页比较重要,也就是其 PageRank 值会相对较高。</li><li>如果一个 PageRank 值很高的网页链接到其他网页,那么被链接到的网页的 PageRank 值会相应地提高。</li></ul><p>PageRank 算法适用于网页排序、社交网络重点人物发掘等场景。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=l [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/cn/docs/quickstart/computing/_print/index.html b/cn/docs/quickstart/computing/_print/index.html
index 48d79dc0..0995349b 100644
--- a/cn/docs/quickstart/computing/_print/index.html
+++ b/cn/docs/quickstart/computing/_print/index.html
@@ -1,32 +1,147 @@
<!doctype html><html lang=cn class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv=content-security-policy content="script-src 'self' 'unsafe-inline'; script-src-elem 'self' 'unsafe-inline' https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com;"><meta name=generator content="Hugo 0.102.3"><link rel=canonical type=text/html href=/cn/docs/quickstart/computing/><link rel=alternate type [...]
<link rel=stylesheet href=/css/prism.css><script src=https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js></script>
<script>document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll("pre code.language-mermaid, code.language-mermaid, pre code.language-fallback, code.language-fallback"),e=[];t.forEach(function(t){var n=t.textContent.trim();(n.match(/^(graph|flowchart|sequenceDiagram|classDiagram|pie|gitgraph|erDiagram|journey|gantt|stateDiagram|mindmap|timeline|quadrantChart)/m)||n.includes("-->")||n.includes("->")||n.includes("style ")||n.includes("fill:"))&&e.push(t)}),e. [...]
-<a href=# onclick="return print(),!1">Click here to print</a>.</p><p><a href=/cn/docs/quickstart/computing/>Return to the regular view of this page</a>.</p></div><h1 class=title>HugeGraph Computing (OLAP)</h1><ul><li>1: <a href=#pg-195b2910f1b20ecc0c065f6e6267415a>HugeGraph-Vermeer Quick Start</a></li><li>2: <a href=#pg-e9c07ea6afc3c052057c026b7f07c6b9>HugeGraph-Computer Quick Start</a></li></ul><div class=content></div></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e626741 [...]
+<a href=# onclick="return print(),!1">Click here to print</a>.</p><p><a href=/cn/docs/quickstart/computing/>Return to the regular view of this page</a>.</p></div><h1 class=title>HugeGraph Computing (OLAP)</h1><ul><li>1: <a href=#pg-195b2910f1b20ecc0c065f6e6267415a>HugeGraph-Vermeer Quick Start</a></li><li>2: <a href=#pg-e9c07ea6afc3c052057c026b7f07c6b9>HugeGraph-Computer Quick Start</a></li></ul><div class=content></div></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e626741 [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>修改 docker-compose.yaml</p><ul><li><strong>Volume</strong>:例如将两处 ~/:/go/bin/config 改为 /home/user/config:/go/bin/config(或您自己的配置目录)。</li><li><strong>Subnet</strong>:根据实际情况修改子网IP。请注意,每个容器需要访问的端口在config文件中指定,具体请参照项目<code>config</code>文件夹下内容。</li></ul><p>在项目目录构建镜像并启动(或者先用 docker build 再 docker-compose up)</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 启动(在 vermeer 根目录)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 或使用新版 CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>方案二:通过 docker run 单独启动(手动创建网络并分配静态 IP)</strong></li></ol><p>确保CONFIG_DIR对Docker进程具有适当的读取/执行权限。</p><p>构建镜像:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>创建自定义 bridge 网络(一次性操作):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>运行 master(调整 CONFIG_DIR 为您的绝对配置路径,可以根据实际情况调整IP):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>运行 worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 删除自定义网络(如果需要)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>方案三:从源码构建</strong></li></ol><p>构建。具体请参照<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p><h2 id=二任务创建类-rest-api>二、任务创建类 rest api</h2><h3 id=21-简介>2.1 简介</h3><p>此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除�
�口仅在 loaded 和 error 状态且该图无计算任务时可用。< [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>从hugegraph加载</li></ol><p><strong>request 示例:</strong></p><p>⚠️ 安全警告:切勿在配置文件或代码中存储真实密码。请改用环境变量或安全的凭据管理系统。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f59 [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>从hdfs加载</li></ol><p><strong>request 示例:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-输出计算结果>2.3 输出计算结果</h3><p>所有的 vermeer 计算任务均支持多种结果输出方式,可自定义输出方式:local、hdfs、afs 或 hugegraph,在发送请求时的 params 参数下加入对应参数,即可生效。指定 output.need_statistics 为 1 时,支持计算结果统计信息输出,结果会写在接口任务信息内。统计模式算子目前支持 “count” 和 “modularity” 。但仅针对社区发现算法适用。</p><p>具体参数参考 Vermeer 参数列表文档。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lan [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=三支持的算法>三、支持的算法</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>PageRank 算法又称网页排名算法,是一种由搜索引擎根据网页(节点)之间相互的超链接进行计算的技</p><p>术,用来体现网页(节点)的相关性和重要性。</p><ul><li>如果一个网页被很多其他网页链接到,说明这个网页比较重要,也就是其 PageRank 值会相对较高。</li><li>如果一个 PageRank 值很高的网页链接到其他网页,那么被链接到的网页的 PageRank 值会相应地提高。</li></ul><p>PageRank 算法适用于网页排序、社交网络重点人物发掘等场景。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=l [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/cn/docs/quickstart/computing/hugegraph-vermeer/index.html b/cn/docs/quickstart/computing/hugegraph-vermeer/index.html
index 90a4ddc1..cefee311 100644
--- a/cn/docs/quickstart/computing/hugegraph-vermeer/index.html
+++ b/cn/docs/quickstart/computing/hugegraph-vermeer/index.html
@@ -3,54 +3,163 @@
Vermeer 是一个 Go编写的高性能内存优先的图计算框架 (一次启动,任意执行),支持 15+ OLAP 图算法的极速计算 (大部分秒~分钟级别完成执行),包含 master 和 worker 两种角色。master 目前只有一个 ( …"><meta property="og:title" content="HugeGraph-Vermeer Quick Start"><meta property="og:description" content="一、Vermeer 概述 1.1 运行架构 Vermeer 是一个 Go编写的高性能内存优先的图计算框架 (一次启动,任意执行),支持 15+ OLAP 图算法的极速计算 (大部分秒~分钟级别完成执行),包含 master 和 worker 两种角色。master 目前只有一个 (可增加 HA),worker 可以有多个。
master 是负责通信、转发、汇总的节点,计算量和占用资源量较少。worker 是计算节点,用于存储图数据和运行计算任务,占用大量内存和 cpu。grpc 和 rest 模块分别负责内部通信和外部调用。
该框架的运行配置可以通过命令行参数传入,也可以通过位于 config/ 目录下的配置文件指定,--env 参数可以指定使用哪个配置文件,例如 --env=master 指定使用 master.ini。需要注意 master 需要指定监听的端口号,worker 需要指定监听端口号和 master 的 ip:port。
-1.2 运行方法 在进入文件夹目录后输入 ./vermeer --env=master 或 ./vermeer --env=worker01
-二、任务创建类 rest api 2.1 简介 此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除接口仅在 loaded 和 error 状态且该图无计算任务时可用。
-可以使用的 url 如下:
-异步返回接口 POST http://master_ip:port/tasks/create 仅返回任务创建是否成功,需通过主动查询任务状态判断是否完成。 同步返回接口 POST http://master_ip:port/tasks/create/sync 在任务结束后返回。 2."><meta property="og:type" content="article"><meta property="og:url" content="/cn/docs/quickstart/computing/hugegraph-vermeer/"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2025-06-13T21:28:50+08:00"><meta property="og:site_name" content="HugeGraph"><meta itemprop=name content="HugeGraph-Vermeer Qu [...]
+1.2 运行方法 方案一:Docker Compose(推荐) 确保docker-compose.yaml存在于您的项目根目录中。如果没有,以下是一个示例:
+# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership."><meta property="og:type" content="article"><meta property="og:url" content="/cn/docs/quickstart/computing/hugegraph-vermeer/"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2025-11-17T19:32:28+08:00"><meta property="og:site_name" [...]
master 是负责通信、转发、汇总的节点,计算量和占用资源量较少。worker 是计算节点,用于存储图数据和运行计算任务,占用大量内存和 cpu。grpc 和 rest 模块分别负责内部通信和外部调用。
该框架的运行配置可以通过命令行参数传入,也可以通过位于 config/ 目录下的配置文件指定,--env 参数可以指定使用哪个配置文件,例如 --env=master 指定使用 master.ini。需要注意 master 需要指定监听的端口号,worker 需要指定监听端口号和 master 的 ip:port。
-1.2 运行方法 在进入文件夹目录后输入 ./vermeer --env=master 或 ./vermeer --env=worker01
-二、任务创建类 rest api 2.1 简介 此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除接口仅在 loaded 和 error 状态且该图无计算任务时可用。
-可以使用的 url 如下:
-异步返回接口 POST http://master_ip:port/tasks/create 仅返回任务创建是否成功,需通过主动查询任务状态判断是否完成。 同步返回接口 POST http://master_ip:port/tasks/create/sync 在任务结束后返回。 2."><meta itemprop=dateModified content="2025-06-13T21:28:50+08:00"><meta itemprop=wordCount content="593"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="HugeGraph-Vermeer Quick Start"><meta name=twitter:description content="一、Vermeer 概述 1.1 运行架构 Vermeer 是一个 Go编写的高性能内存优先的图计算框架 (一次启动,任意执行),支 [...]
+1.2 运行方法 方案一:Docker Compose(推荐) 确保docker-compose.yaml存在于您的项目根目录中。如果没有,以下是一个示例:
+# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership."><meta itemprop=dateModified content="2025-11-17T19:32:28+08:00"><meta itemprop=wordCount content="1027"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="HugeGraph-Vermeer Quick Start"><meta name=twitter:description conte [...]
master 是负责通信、转发、汇总的节点,计算量和占用资源量较少。worker 是计算节点,用于存储图数据和运行计算任务,占用大量内存和 cpu。grpc 和 rest 模块分别负责内部通信和外部调用。
该框架的运行配置可以通过命令行参数传入,也可以通过位于 config/ 目录下的配置文件指定,--env 参数可以指定使用哪个配置文件,例如 --env=master 指定使用 master.ini。需要注意 master 需要指定监听的端口号,worker 需要指定监听端口号和 master 的 ip:port。
-1.2 运行方法 在进入文件夹目录后输入 ./vermeer --env=master 或 ./vermeer --env=worker01
-二、任务创建类 rest api 2.1 简介 此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除接口仅在 loaded 和 error 状态且该图无计算任务时可用。
-可以使用的 url 如下:
-异步返回接口 POST http://master_ip:port/tasks/create 仅返回任务创建是否成功,需通过主动查询任务状态判断是否完成。 同步返回接口 POST http://master_ip:port/tasks/create/sync 在任务结束后返回。 2."><link rel=preload href=/scss/main.min.3276a99ddd5b15fbe3fcf20f8237086c2cbb526b572f4f06a2246fa9279ed395.css as=style><link href=/scss/main.min.3276a99ddd5b15fbe3fcf20f8237086c2cbb526b572f4f06a2246fa9279ed395.css rel=stylesheet integrity><script src=/js/jquery.min.js></script>
+1.2 运行方法 方案一:Docker Compose(推荐) 确保docker-compose.yaml存在于您的项目根目录中。如果没有,以下是一个示例:
+# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership."><link rel=preload href=/scss/main.min.3276a99ddd5b15fbe3fcf20f8237086c2cbb526b572f4f06a2246fa9279ed395.css as=style><link href=/scss/main.min.3276a99ddd5b15fbe3fcf20f8237086c2cbb526b572f4f06a2246fa9279ed395.css rel=stylesheet integrity><script src=/js/jquery.min.js></script>
<link rel=stylesheet href=/css/prism.css><script src=https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js></script>
<script>document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll("pre code.language-mermaid, code.language-mermaid, pre code.language-fallback, code.language-fallback"),e=[];t.forEach(function(t){var n=t.textContent.trim();(n.match(/^(graph|flowchart|sequenceDiagram|classDiagram|pie|gitgraph|erDiagram|journey|gantt|stateDiagram|mindmap|timeline|quadrantChart)/m)||n.includes("-->")||n.includes("->")||n.includes("style ")||n.includes("fill:"))&&e.push(t)}),e. [...]
<a href=https://github.com/apache/incubator-hugegraph-doc/edit/master/content/cn/docs/quickstart/computing/hugegraph-vermeer.md class=td-page-meta--edit target=_blank rel=noopener><i class="fa fa-edit fa-fw"></i> Edit this page</a>
<a href="https://github.com/apache/incubator-hugegraph-doc/new/master/content/cn/docs/quickstart/computing/hugegraph-vermeer.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+% [...]
<a href="https://github.com/apache/incubator-hugegraph-doc/issues/new?title=HugeGraph-Vermeer%20Quick%20Start" class=td-page-meta--issue target=_blank rel=noopener><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
<a href=https://github.com/apache/incubator-hugegraph/issues/new class=td-page-meta--project-issue target=_blank rel=noopener><i class="fas fa-tasks fa-fw"></i> Create project issue</a>
-<a id=print href=/cn/docs/quickstart/computing/_print/><i class="fa fa-print fa-fw"></i> Print entire section</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#一vermeer-概述>一、Vermeer 概述</a><ul><li><a href=#11-运行架构>1.1 运行架构</a></li><li><a href=#12-运行方法>1.2 运行方法</a></li></ul></li><li><a href=#二任务创建类-rest-api>二、任务创建类 rest api</a><ul><li><a href=#21-简介>2.1 简介</a></li><li><a href=#22-加载图数据>2.2 加载图数据</a></li><li><a href=#23-输出计算结果>2.3 输出计算结果</a></li></ul></li><li><a href=#三支持的 [...]
+<a id=print href=/cn/docs/quickstart/computing/_print/><i class="fa fa-print fa-fw"></i> Print entire section</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#一vermeer-概述>一、Vermeer 概述</a><ul><li><a href=#11-运行架构>1.1 运行架构</a></li><li><a href=#12-运行方法>1.2 运行方法</a></li></ul></li><li><a href=#二任务创建类-rest-api>二、任务创建类 rest api</a><ul><li><a href=#21-简介>2.1 简介</a></li><li><a href=#22-加载图数据>2.2 加载图数据</a></li><li><a href=#23-输出计算结果>2.3 输出计算结果</a></li></ul></li><li><a href=#三支持的 [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>修改 docker-compose.yaml</p><ul><li><strong>Volume</strong>:例如将两处 ~/:/go/bin/config 改为 /home/user/config:/go/bin/config(或您自己的配置目录)。</li><li><strong>Subnet</strong>:根据实际情况修改子网IP。请注意,每个容器需要访问的端口在config文件中指定,具体请参照项目<code>config</code>文件夹下内容。</li></ul><p>在项目目录构建镜像并启动(或者先用 docker build 再 docker-compose up)</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 启动(在 vermeer 根目录)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 或使用新版 CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>方案二:通过 docker run 单独启动(手动创建网络并分配静态 IP)</strong></li></ol><p>确保CONFIG_DIR对Docker进程具有适当的读取/执行权限。</p><p>构建镜像:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>创建自定义 bridge 网络(一次性操作):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>运行 master(调整 CONFIG_DIR 为您的绝对配置路径,可以根据实际情况调整IP):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>运行 worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 删除自定义网络(如果需要)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>方案三:从源码构建</strong></li></ol><p>构建。具体请参照<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p><h2 id=二任务创建类-rest-api>二、任务创建类 rest api</h2><h3 id=21-简介>2.1 简介</h3><p>此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除�
�口仅在 loaded 和 error 状态且该图无计算任务时可用。< [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>从hugegraph加载</li></ol><p><strong>request 示例:</strong></p><p>⚠️ 安全警告:切勿在配置文件或代码中存储真实密码。请改用环境变量或安全的凭据管理系统。</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f59 [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>从hdfs加载</li></ol><p><strong>request 示例:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-输出计算结果>2.3 输出计算结果</h3><p>所有的 vermeer 计算任务均支持多种结果输出方式,可自定义输出方式:local、hdfs、afs 或 hugegraph,在发送请求时的 params 参数下加入对应参数,即可生效。指定 output.need_statistics 为 1 时,支持计算结果统计信息输出,结果会写在接口任务信息内。统计模式算子目前支持 “count” 和 “modularity” 。但仅针对社区发现算法适用。</p><p>具体参数参考 Vermeer 参数列表文档。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lan [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=三支持的算法>三、支持的算法</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>PageRank 算法又称网页排名算法,是一种由搜索引擎根据网页(节点)之间相互的超链接进行计算的技</p><p>术,用来体现网页(节点)的相关性和重要性。</p><ul><li>如果一个网页被很多其他网页链接到,说明这个网页比较重要,也就是其 PageRank 值会相对较高。</li><li>如果一个 PageRank 值很高的网页链接到其他网页,那么被链接到的网页的 PageRank 值会相应地提高。</li></ul><p>PageRank 算法适用于网页排序、社交网络重点人物发掘等场景。</p><p>request 示例:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=l [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
@@ -267,7 +376,7 @@ master 是负责通信、转发、汇总的节点,计算量和占用资源量
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"200"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><blockquote><p>🚧, 后续随时更新完善,欢迎随时提出建议和意见。</p></blockquote><div class="text-muted mt-5 pt-3 border-top">Last modified June 13, 2025: <a href=https://github.com/apache/incubator-hugegraph-doc/commit/48ff6f261c634e8d8ae9c4fac9e21524f67424b5>BREAKING CHANGE: refactor doc structure & add new content for client/AI (#407) (48ff6f26)</a></div></div></main></div></div><footer class="bg-dark py-3 row d-print-none"><div class=footer-container><div class="row bg-dark"> [...]
+</span></span></code></pre></div><blockquote><p>🚧, 后续随时更新完善,欢迎随时提出建议和意见。</p></blockquote><div class="text-muted mt-5 pt-3 border-top">Last modified November 17, 2025: <a href=https://github.com/apache/incubator-hugegraph-doc/commit/6599d1f35ac640391442376c0667013830dfe626>chore: add docker using / add load data methods (#423) (6599d1f3)</a></div></div></main></div></div><footer class="bg-dark py-3 row d-print-none"><div class=footer-container><div class="row bg-dark"><div class=col-1></d [...]
<script src=/js/bootstrap.min.js></script>
<script src=/js/mermaid.min.js></script>
<script src=/js/tabpane-persist.js></script>
diff --git a/cn/docs/quickstart/computing/index.xml b/cn/docs/quickstart/computing/index.xml
index 2db8768f..f5401060 100644
--- a/cn/docs/quickstart/computing/index.xml
+++ b/cn/docs/quickstart/computing/index.xml
@@ -5,7 +5,111 @@
<p>master 是负责通信、转发、汇总的节点,计算量和占用资源量较少。worker 是计算节点,用于存储图数据和运行计算任务,占用大量内存和 cpu。grpc 和 rest 模块分别负责内部通信和外部调用。</p>
<p>该框架的运行配置可以通过命令行参数传入,也可以通过位于 <code>config/</code> 目录下的配置文件指定,<code>--env</code> 参数可以指定使用哪个配置文件,例如 <code>--env=master</code> 指定使用 <code>master.ini</code>。需要注意 master 需要指定监听的端口号,worker 需要指定监听端口号和 master 的 <code>ip:port</code>。</p>
<h3 id="12-运行方法">1.2 运行方法</h3>
-<p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p>
+<ol>
+<li><strong>方案一:Docker Compose(推荐)</strong></li>
+</ol>
+<p>确保docker-compose.yaml存在于您的项目根目录中。如果没有,以下是一个示例:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># contributor license agreements. See the NOTICE file distributed with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># this work for additional information regarding copyright ownership.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># (the &#34;License&#34;); you may not use this file except in compliance with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># the License. You may obtain a copy of the License at</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># http://www.apache.org/licenses/LICENSE-2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Unless required by applicable law or agreed to in writing, software</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># distributed under the License is distributed on an &#34;AS IS&#34; BASIS,</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># See the License for the specific language governing permissions and</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># limitations under the License.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">services</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-master</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/.config:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.10</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:# [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-worker</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.11</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:# [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">driver</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">bridge</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipam</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">config</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#204a87;font-weight:bold">subnet</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.0</span><span style="color:#000">/24</span><span style="color:#f8f8f8;text-decoration:underline [...]
+</span></span></span></code></pre></div><p>修改 docker-compose.yaml</p>
+<ul>
+<li><strong>Volume</strong>:例如将两处 ~/:/go/bin/config 改为 /home/user/config:/go/bin/config(或您自己的配置目录)。</li>
+<li><strong>Subnet</strong>:根据实际情况修改子网IP。请注意,每个容器需要访问的端口在config文件中指定,具体请参照项目<code>config</code>文件夹下内容。</li>
+</ul>
+<p>在项目目录构建镜像并启动(或者先用 docker build 再 docker-compose up)</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 构建镜像(在项目根 vermeer 目录)</span>
+</span></span><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 启动(在 vermeer 根目录)</span>
+</span></span><span style="display:flex;"><span>docker-compose up -d
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 或使用新版 CLI:</span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># docker compose up -d</span>
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker-compose logs -f
+</span></span><span style="display:flex;"><span>docker-compose down
+</span></span></code></pre></div><ol start="2">
+<li><strong>方案二:通过 docker run 单独启动(手动创建网络并分配静态 IP)</strong></li>
+</ol>
+<p>确保CONFIG_DIR对Docker进程具有适当的读取/执行权限。</p>
+<p>构建镜像:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>创建自定义 bridge 网络(一次性操作):</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker network create --driver bridge <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --subnet 172.20.0.0/24 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> vermeer_network
+</span></span></code></pre></div><p>运行 master(调整 CONFIG_DIR 为您的绝对配置路径,可以根据实际情况调整IP):</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#000">CONFIG_DIR</span><span style="color:#ce5c00;font-weight:bold">=</span>/home/user/config
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-master <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.10 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>master
+</span></span></code></pre></div><p>运行 worker:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-worker <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.11 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>worker
+</span></span></code></pre></div><p>查看日志 / 停止 / 删除:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker logs -f vermeer-master
+</span></span><span style="display:flex;"><span>docker logs -f vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker stop vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>docker rm vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 删除自定义网络(如果需要)</span>
+</span></span><span style="display:flex;"><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start="3">
+<li><strong>方案三:从源码构建</strong></li>
+</ol>
+<p>构建。具体请参照<a href="https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer">Vermeer Readme</a>。</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>go build
+</span></span></code></pre></div><p>在进入文件夹目录后输入 <code>./vermeer --env=master</code> 或 <code>./vermeer --env=worker01</code></p>
<h2 id="二任务创建类-rest-api">二、任务创建类 rest api</h2>
<h3 id="21-简介">2.1 简介</h3>
<p>此类 rest api 提供所有创建任务的功能,包括读取图数据和多种计算功能,提供异步返回和同步返回两种接口。返回的内容均包含所创建任务的信息。使用 vermeer 的整体流程是先创建读取图的任务,待图读取完毕后创建计算任务执行计算。图不会自动被删除,在一个图上运行多个计算任务无需多次重复读取,如需删除可用删除图接口。任务状态可分为读取任务状态和计算任务状态。通常情况下客户端仅需了解创建、任务中、任务结束和任务错误四种状态。图状态是图是否可用的判断依据,若图正在读取中或图状态错误,无法使用该图创建计算任务。图删除接口仅在 loaded 和 error 状态且该图无计算任务时可用。</p>
@@ -16,7 +120,11 @@
</ul>
<h3 id="22-加载图数据">2.2 加载图数据</h3>
<p>具体参数参考 Vermeer 参数列表文档。</p>
-<p>request 示例:</p>
+<p>vermeer提供三种加载方式:</p>
+<ol>
+<li>从本地加载</li>
+</ol>
+<p><strong>request 示例:</strong></p>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
@@ -30,6 +138,50 @@
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="2">
+<li>从hugegraph加载</li>
+</ol>
+<p><strong>request 示例:</strong></p>
+<p>⚠️ 安全警告:切勿在配置文件或代码中存储真实密码。请改用环境变量或安全的凭据管理系统。</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hugegraph&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hg_pd_peers&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;[\&#34;&lt;your-hugegraph-ip&gt;:8686\&#34;]&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;DEFAULT/hugegraph2/g&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_username&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;admin&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_password&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;&lt;your-password-here&gt;&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="3">
+<li>从hdfs加载</li>
+</ol>
+<p><strong>request 示例:</strong></p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hdfs&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_namenode&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;name_node1:9000&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_realm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;user@EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_keytab_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/keytab&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/krb5.conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_use_krb&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.vertex_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/vertices&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.edge_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/edges&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h3 id="23-输出计算结果">2.3 输出计算结果</h3>
<p>所有的 vermeer 计算任务均支持多种结果输出方式,可自定义输出方式:local、hdfs、afs 或 hugegraph,在发送请求时的 params 参数下加入对应参数,即可生效。指定 output.need_statistics 为 1 时,支持计算结果统计信息输出,结果会写在接口任务信息内。统计模式算子目前支持 &ldquo;count&rdquo; 和 &ldquo;modularity&rdquo; 。但仅针对社区发现算法适用。</p>
<p>具体参数参考 Vermeer 参数列表文档。</p>
@@ -40,13 +192,13 @@
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.algorithm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;pagerank&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
-</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h2 id="三支持的算法">三、支持的算法</h2>
<h3 id="31-pagerank">3.1 PageRank</h3>
<p>PageRank 算法又称网页排名算法,是一种由搜索引擎根据网页(节点)之间相互的超链接进行计算的技</p>
diff --git a/cn/sitemap.xml b/cn/sitemap.xml
index ce02045d..23463d7a 100644
--- a/cn/sitemap.xml
+++ b/cn/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/cn/docs/language/hugegraph-gremlin/</loc><lastmod>2023-01-01T16:16:43+08:00</lastmod><xhtml:link rel="alternate" hreflang="en" href="/docs/language/hugegraph-gremlin/"/><xhtml:link rel="alternate" hreflang="cn" href="/cn/docs/language/hugegraph-gremlin/"/></url><url><loc>/cn/blog/hugegraph/</loc><lastmod>2025-10-20T19:36: [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/cn/docs/language/hugegraph-gremlin/</loc><lastmod>2023-01-01T16:16:43+08:00</lastmod><xhtml:link rel="alternate" hreflang="en" href="/docs/language/hugegraph-gremlin/"/><xhtml:link rel="alternate" hreflang="cn" href="/cn/docs/language/hugegraph-gremlin/"/></url><url><loc>/cn/blog/hugegraph/</loc><lastmod>2025-10-20T19:36: [...]
\ No newline at end of file
diff --git a/docs/_print/index.html b/docs/_print/index.html
index eb50ceb1..47b12b3a 100644
--- a/docs/_print/index.html
+++ b/docs/_print/index.html
@@ -1644,32 +1644,147 @@ Configuration changes are automatically saved when using the web interface. For
</span></span><span style=display:flex><span> F[Natural Language Query] --> G[Search for the most similar query \nin the Vector Database \n&#40If no Gremlin pairs exist in the Vector Database, \ndefault files will be automatically vectorized&#41 \nand retrieve the corresponding Gremlin]
</span></span><span style=display:flex><span> G --> H[Add the matched pair to the prompt \nand use LLM to generate the Gremlin \ncorresponding to the Natural Language Query]
</span></span></code></pre></div><h3 id=input-fields-for-the-second-part>Input Fields for the Second Part:</h3><ul><li><strong>Natural Language</strong> <strong>Query</strong>: Input the natural language text to be converted into Gremlin.</li></ul><p><img src=https://github.com/user-attachments/assets/d2a72f45-488c-4099-968b-a11816655ba0 alt=image></p><ul><li><strong>Schema:</strong> Input the graph schema.</li></ul><h3 id=execution-flow-2>Execution Flow:</h3><ol><li><p>Input the <strong [...]
-</code></pre><h1 id=5-graph-tools>5. Graph Tools</h1><p>Input Gremlin queries to execute corresponding operations.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>3.4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>3.4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=1-overview-of-vermeer>1. Overview of Vermeer</h2><h3 id=11-architecture>1.1 Architecture</h3><p>Vermeer is a high-p [...]
+</code></pre><h1 id=5-graph-tools>5. Graph Tools</h1><p>Input Gremlin queries to execute corresponding operations.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>3.4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>3.4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=1-overview-of-vermeer>1. Overview of Vermeer</h2><h3 id=11-architecture>1.1 Architecture</h3><p>Vermeer is a high-p [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>Modify <code>docker-compose.yaml</code></p><ul><li><strong>Volume</strong>: For example, change both instances of <code>~/:/go/bin/config</code> to <code>/home/user/config:/go/bin/config</code> (or your own configuration directory).</li><li><strong>Subnet</strong>: Modify the subnet IP based on your actual situation. Note that the ports each container needs to access are specified in the config file. Please refer to the contents of the project&r [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Start the services (in the vermeer root directory)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Or use the new CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>View Logs / Stop / Remove</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>Option 2: Start individually via <code>docker run</code> (Manually create network and assign static IP)</strong></li></ol><p>Ensure the CONFIG_DIR has proper read/execute permissions for the Docker process.</p><p>Build the image:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hug [...]
+</span></span></code></pre></div><p>Create a custom bridge network (one-time operation):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>Run master (adjust <code>CONFIG_DIR</code> to your <strong>absolute</strong> configuration path, and you can adjust the IP as needed based on your actual situation).</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>Run worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>View logs / Stop / Remove:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Remove the custom network (if needed)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>Option 3: Build from Source</strong></li></ol><p>Build. You can refer<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p><h2 id=2-task-creation-rest-api>2. Task Creation REST API</h2><h3 id=21-introduction>2.1 Introduction</h3><p>This REST API provides all task creation functions, including reading graph data and various computation functions, offering both asynchronous and synchronous return interfaces. The returned content includes information about the create [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>Load from HugeGraph</li></ol><p><strong>Request Example:</strong></p><p>⚠️ Security Warning: Never store real passwords in configuration files or code. Use environment variables or a secure credential management system instead.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:# [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>Load from HDFS</li></ol><p><strong>Request Example:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-output-computation-results>2.3 Output Computation Results</h3><p>All Vermeer computation tasks support multiple result output methods, which can be customized: local, hdfs, afs, or hugegraph. Add the corresponding parameters under the params parameter when sending the request to take effect. When output.need_statistics is set to 1, it supports outputting statistical information of the computation results, which will be written in the interface t [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=3-supported-algorithms>3. Supported Algorithms</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>The PageRank algorithm, also known as the web ranking algorithm, is a technique used by search engines to calculate the relevance and importance of web pages (nodes) based on their mutual hyperlinks.</p><ul><li>If a web page is linked to by many other web pages, it indicates that the web page is relatively important, and its PageRank value will be relatively h [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/docs/index.xml b/docs/index.xml
index 1429b9e7..64775245 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -3060,7 +3060,111 @@ you may wait for the community to update the data with these enhancements.</p
<p>The master is responsible for communication, forwarding, and aggregation, with minimal computation and resource usage. Workers are computation nodes used to store graph data and run computation tasks, consuming a large amount of memory and CPU. The grpc and rest modules handle internal communication and external calls, respectively.</p>
<p>The framework&rsquo;s runtime configuration can be passed via command-line parameters or specified in configuration files located in the <code>config/</code> directory. The <code>--env</code> parameter can specify which configuration file to use, e.g., <code>--env=master</code> specifies using <code>master.ini</code>. Note that the master needs to specify the listening port, and the worker needs to specify the listening port and the master&rsquo;s &l [...]
<h3 id="12-running-method">1.2 Running Method</h3>
-<p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p>
+<ol>
+<li><strong>Option 1: Docker Compose (Recommended)</strong></li>
+</ol>
+<p>Please ensure that <code>docker-compose.yaml</code> exists in your project root directory. If it doesn&rsquo;t, here is an example:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># contributor license agreements. See the NOTICE file distributed with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># this work for additional information regarding copyright ownership.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># (the &#34;License&#34;); you may not use this file except in compliance with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># the License. You may obtain a copy of the License at</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># http://www.apache.org/licenses/LICENSE-2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Unless required by applicable law or agreed to in writing, software</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># distributed under the License is distributed on an &#34;AS IS&#34; BASIS,</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># See the License for the specific language governing permissions and</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># limitations under the License.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">services</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-master</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/.config:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.10</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style=" [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-worker</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.11</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style=" [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">driver</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">bridge</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipam</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">config</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#204a87;font-weight:bold">subnet</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.0</span><span style="color:#000">/24</span><span style="color:#f8f8f8;text-decoration:un [...]
+</span></span></span></code></pre></div><p>Modify <code>docker-compose.yaml</code></p>
+<ul>
+<li><strong>Volume</strong>: For example, change both instances of <code>~/:/go/bin/config</code> to <code>/home/user/config:/go/bin/config</code> (or your own configuration directory).</li>
+<li><strong>Subnet</strong>: Modify the subnet IP based on your actual situation. Note that the ports each container needs to access are specified in the config file. Please refer to the contents of the project&rsquo;s <code>config</code> folder for details.</li>
+</ul>
+<p>Build the Image and Start in the Project Directory (or <code>docker build</code> first, then <code>docker-compose up</code>)</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Build the image (in the project root vermeer directory)</span>
+</span></span><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Start the services (in the vermeer root directory)</span>
+</span></span><span style="display:flex;"><span>docker-compose up -d
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Or use the new CLI:</span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># docker compose up -d</span>
+</span></span></code></pre></div><p>View Logs / Stop / Remove</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker-compose logs -f
+</span></span><span style="display:flex;"><span>docker-compose down
+</span></span></code></pre></div><ol start="2">
+<li><strong>Option 2: Start individually via <code>docker run</code> (Manually create network and assign static IP)</strong></li>
+</ol>
+<p>Ensure the CONFIG_DIR has proper read/execute permissions for the Docker process.</p>
+<p>Build the image:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>Create a custom bridge network (one-time operation):</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker network create --driver bridge <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --subnet 172.20.0.0/24 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> vermeer_network
+</span></span></code></pre></div><p>Run master (adjust <code>CONFIG_DIR</code> to your <strong>absolute</strong> configuration path, and you can adjust the IP as needed based on your actual situation).</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#000">CONFIG_DIR</span><span style="color:#ce5c00;font-weight:bold">=</span>/home/user/config
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-master <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.10 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>master
+</span></span></code></pre></div><p>Run worker:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-worker <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.11 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>worker
+</span></span></code></pre></div><p>View logs / Stop / Remove:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker logs -f vermeer-master
+</span></span><span style="display:flex;"><span>docker logs -f vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker stop vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>docker rm vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Remove the custom network (if needed)</span>
+</span></span><span style="display:flex;"><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start="3">
+<li><strong>Option 3: Build from Source</strong></li>
+</ol>
+<p>Build. You can refer<a href="https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer">Vermeer Readme</a>.</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>go build
+</span></span></code></pre></div><p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p>
<h2 id="2-task-creation-rest-api">2. Task Creation REST API</h2>
<h3 id="21-introduction">2.1 Introduction</h3>
<p>This REST API provides all task creation functions, including reading graph data and various computation functions, offering both asynchronous and synchronous return interfaces. The returned content includes information about the created tasks. The overall process of using Vermeer is to first create a task to read the graph data, and after the graph is read, create a computation task to execute the computation. The graph will not be automatically deleted; multiple computation tasks [...]
@@ -3071,7 +3175,11 @@ you may wait for the community to update the data with these enhancements.</p
</ul>
<h3 id="22-loading-graph-data">2.2 Loading Graph Data</h3>
<p>Refer to the Vermeer parameter list document for specific parameters.</p>
-<p>Request example:</p>
+<p>Vermeer provides three ways to load data:</p>
+<ol>
+<li>Load from Local Files</li>
+</ol>
+<p><strong>Request Example:</strong></p>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
@@ -3085,6 +3193,50 @@ you may wait for the community to update the data with these enhancements.</p
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="2">
+<li>Load from HugeGraph</li>
+</ol>
+<p><strong>Request Example:</strong></p>
+<p>⚠️ Security Warning: Never store real passwords in configuration files or code. Use environment variables or a secure credential management system instead.</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hugegraph&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hg_pd_peers&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;[\&#34;&lt;your-hugegraph-ip&gt;:8686\&#34;]&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;DEFAULT/hugegraph2/g&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_username&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;admin&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_password&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;&lt;your-password-here&gt;&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="3">
+<li>Load from HDFS</li>
+</ol>
+<p><strong>Request Example:</strong></p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hdfs&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_namenode&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;name_node1:9000&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_realm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;user@EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_keytab_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/keytab&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/krb5.conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_use_krb&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.vertex_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/vertices&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.edge_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/edges&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h3 id="23-output-computation-results">2.3 Output Computation Results</h3>
<p>All Vermeer computation tasks support multiple result output methods, which can be customized: local, hdfs, afs, or hugegraph. Add the corresponding parameters under the params parameter when sending the request to take effect. When output.need_statistics is set to 1, it supports outputting statistical information of the computation results, which will be written in the interface task information. The statistical mode operators currently support &ldquo;count&rdquo; and & [...]
<p>Refer to the Vermeer parameter list document for specific parameters.</p>
@@ -3095,13 +3247,13 @@ you may wait for the community to update the data with these enhancements.</p
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.algorithm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;pagerank&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
-</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h2 id="3-supported-algorithms">3. Supported Algorithms</h2>
<h3 id="31-pagerank">3.1 PageRank</h3>
<p>The PageRank algorithm, also known as the web ranking algorithm, is a technique used by search engines to calculate the relevance and importance of web pages (nodes) based on their mutual hyperlinks.</p>
diff --git a/docs/quickstart/_print/index.html b/docs/quickstart/_print/index.html
index 496cee6f..100daac3 100644
--- a/docs/quickstart/_print/index.html
+++ b/docs/quickstart/_print/index.html
@@ -1636,32 +1636,147 @@ Configuration changes are automatically saved when using the web interface. For
</span></span><span style=display:flex><span> F[Natural Language Query] --> G[Search for the most similar query \nin the Vector Database \n&#40If no Gremlin pairs exist in the Vector Database, \ndefault files will be automatically vectorized&#41 \nand retrieve the corresponding Gremlin]
</span></span><span style=display:flex><span> G --> H[Add the matched pair to the prompt \nand use LLM to generate the Gremlin \ncorresponding to the Natural Language Query]
</span></span></code></pre></div><h3 id=input-fields-for-the-second-part>Input Fields for the Second Part:</h3><ul><li><strong>Natural Language</strong> <strong>Query</strong>: Input the natural language text to be converted into Gremlin.</li></ul><p><img src=https://github.com/user-attachments/assets/d2a72f45-488c-4099-968b-a11816655ba0 alt=image></p><ul><li><strong>Schema:</strong> Input the graph schema.</li></ul><h3 id=execution-flow-2>Execution Flow:</h3><ol><li><p>Input the <strong [...]
-</code></pre><h1 id=5-graph-tools>5. Graph Tools</h1><p>Input Gremlin queries to execute corresponding operations.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=1-overview-of-vermeer>1. Overview of Vermeer</h2><h3 id=11-architecture>1.1 Architecture</h3><p>Vermeer is a high-perfo [...]
+</code></pre><h1 id=5-graph-tools>5. Graph Tools</h1><p>Input Gremlin queries to execute corresponding operations.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-d9d6bf778a1c59e678ba9cc8395acdd4>4 - HugeGraph Computing (OLAP)</h1></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a>4.1 - HugeGraph-Vermeer Quick Start</h1><h2 id=1-overview-of-vermeer>1. Overview of Vermeer</h2><h3 id=11-architecture>1.1 Architecture</h3><p>Vermeer is a high-perfo [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>Modify <code>docker-compose.yaml</code></p><ul><li><strong>Volume</strong>: For example, change both instances of <code>~/:/go/bin/config</code> to <code>/home/user/config:/go/bin/config</code> (or your own configuration directory).</li><li><strong>Subnet</strong>: Modify the subnet IP based on your actual situation. Note that the ports each container needs to access are specified in the config file. Please refer to the contents of the project&r [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Start the services (in the vermeer root directory)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Or use the new CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>View Logs / Stop / Remove</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>Option 2: Start individually via <code>docker run</code> (Manually create network and assign static IP)</strong></li></ol><p>Ensure the CONFIG_DIR has proper read/execute permissions for the Docker process.</p><p>Build the image:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hug [...]
+</span></span></code></pre></div><p>Create a custom bridge network (one-time operation):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>Run master (adjust <code>CONFIG_DIR</code> to your <strong>absolute</strong> configuration path, and you can adjust the IP as needed based on your actual situation).</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>Run worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>View logs / Stop / Remove:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Remove the custom network (if needed)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>Option 3: Build from Source</strong></li></ol><p>Build. You can refer<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p><h2 id=2-task-creation-rest-api>2. Task Creation REST API</h2><h3 id=21-introduction>2.1 Introduction</h3><p>This REST API provides all task creation functions, including reading graph data and various computation functions, offering both asynchronous and synchronous return interfaces. The returned content includes information about the create [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>Load from HugeGraph</li></ol><p><strong>Request Example:</strong></p><p>⚠️ Security Warning: Never store real passwords in configuration files or code. Use environment variables or a secure credential management system instead.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:# [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>Load from HDFS</li></ol><p><strong>Request Example:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-output-computation-results>2.3 Output Computation Results</h3><p>All Vermeer computation tasks support multiple result output methods, which can be customized: local, hdfs, afs, or hugegraph. Add the corresponding parameters under the params parameter when sending the request to take effect. When output.need_statistics is set to 1, it supports outputting statistical information of the computation results, which will be written in the interface t [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=3-supported-algorithms>3. Supported Algorithms</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>The PageRank algorithm, also known as the web ranking algorithm, is a technique used by search engines to calculate the relevance and importance of web pages (nodes) based on their mutual hyperlinks.</p><ul><li>If a web page is linked to by many other web pages, it indicates that the web page is relatively important, and its PageRank value will be relatively h [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/docs/quickstart/computing/_print/index.html b/docs/quickstart/computing/_print/index.html
index 9ea234e2..3d4b255d 100644
--- a/docs/quickstart/computing/_print/index.html
+++ b/docs/quickstart/computing/_print/index.html
@@ -1,32 +1,147 @@
<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv=content-security-policy content="script-src 'self' 'unsafe-inline'; script-src-elem 'self' 'unsafe-inline' https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com;"><meta name=generator content="Hugo 0.102.3"><link rel=canonical type=text/html href=/docs/quickstart/computing/><link rel=alternate type=ap [...]
<link rel=stylesheet href=/css/prism.css><script src=https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js></script>
<script>document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll("pre code.language-mermaid, code.language-mermaid, pre code.language-fallback, code.language-fallback"),e=[];t.forEach(function(t){var n=t.textContent.trim();(n.match(/^(graph|flowchart|sequenceDiagram|classDiagram|pie|gitgraph|erDiagram|journey|gantt|stateDiagram|mindmap|timeline|quadrantChart)/m)||n.includes("-->")||n.includes("->")||n.includes("style ")||n.includes("fill:"))&&e.push(t)}),e. [...]
-<a href=# onclick="return print(),!1">Click here to print</a>.</p><p><a href=/docs/quickstart/computing/>Return to the regular view of this page</a>.</p></div><h1 class=title>HugeGraph Computing (OLAP)</h1><ul><li>1: <a href=#pg-195b2910f1b20ecc0c065f6e6267415a>HugeGraph-Vermeer Quick Start</a></li><li>2: <a href=#pg-e9c07ea6afc3c052057c026b7f07c6b9>HugeGraph-Computer Quick Start</a></li></ul><div class=content></div></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a> [...]
+<a href=# onclick="return print(),!1">Click here to print</a>.</p><p><a href=/docs/quickstart/computing/>Return to the regular view of this page</a>.</p></div><h1 class=title>HugeGraph Computing (OLAP)</h1><ul><li>1: <a href=#pg-195b2910f1b20ecc0c065f6e6267415a>HugeGraph-Vermeer Quick Start</a></li><li>2: <a href=#pg-e9c07ea6afc3c052057c026b7f07c6b9>HugeGraph-Computer Quick Start</a></li></ul><div class=content></div></div><div class=td-content><h1 id=pg-195b2910f1b20ecc0c065f6e6267415a> [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>Modify <code>docker-compose.yaml</code></p><ul><li><strong>Volume</strong>: For example, change both instances of <code>~/:/go/bin/config</code> to <code>/home/user/config:/go/bin/config</code> (or your own configuration directory).</li><li><strong>Subnet</strong>: Modify the subnet IP based on your actual situation. Note that the ports each container needs to access are specified in the config file. Please refer to the contents of the project&r [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Start the services (in the vermeer root directory)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Or use the new CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>View Logs / Stop / Remove</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>Option 2: Start individually via <code>docker run</code> (Manually create network and assign static IP)</strong></li></ol><p>Ensure the CONFIG_DIR has proper read/execute permissions for the Docker process.</p><p>Build the image:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hug [...]
+</span></span></code></pre></div><p>Create a custom bridge network (one-time operation):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>Run master (adjust <code>CONFIG_DIR</code> to your <strong>absolute</strong> configuration path, and you can adjust the IP as needed based on your actual situation).</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>Run worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>View logs / Stop / Remove:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Remove the custom network (if needed)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>Option 3: Build from Source</strong></li></ol><p>Build. You can refer<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p><h2 id=2-task-creation-rest-api>2. Task Creation REST API</h2><h3 id=21-introduction>2.1 Introduction</h3><p>This REST API provides all task creation functions, including reading graph data and various computation functions, offering both asynchronous and synchronous return interfaces. The returned content includes information about the create [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>Load from HugeGraph</li></ol><p><strong>Request Example:</strong></p><p>⚠️ Security Warning: Never store real passwords in configuration files or code. Use environment variables or a secure credential management system instead.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:# [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>Load from HDFS</li></ol><p><strong>Request Example:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-output-computation-results>2.3 Output Computation Results</h3><p>All Vermeer computation tasks support multiple result output methods, which can be customized: local, hdfs, afs, or hugegraph. Add the corresponding parameters under the params parameter when sending the request to take effect. When output.need_statistics is set to 1, it supports outputting statistical information of the computation results, which will be written in the interface t [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=3-supported-algorithms>3. Supported Algorithms</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>The PageRank algorithm, also known as the web ranking algorithm, is a technique used by search engines to calculate the relevance and importance of web pages (nodes) based on their mutual hyperlinks.</p><ul><li>If a web page is linked to by many other web pages, it indicates that the web page is relatively important, and its PageRank value will be relatively h [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
diff --git a/docs/quickstart/computing/hugegraph-vermeer/index.html b/docs/quickstart/computing/hugegraph-vermeer/index.html
index 72d17291..2459d1eb 100644
--- a/docs/quickstart/computing/hugegraph-vermeer/index.html
+++ b/docs/quickstart/computing/hugegraph-vermeer/index.html
@@ -1,8 +1,8 @@
<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv=content-security-policy content="script-src 'self' 'unsafe-inline'; script-src-elem 'self' 'unsafe-inline' https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com;"><meta name=generator content="Hugo 0.102.3"><meta name=robots content="index, follow"><link rel="shortcut icon" href=/favicons/favicon.ico> [...]
1.1 Architecture
Vermeer is a high-performance, memory-first graph computing framework written in Go (start once, execute any …"><meta property="og:title" content="HugeGraph-Vermeer Quick Start"><meta property="og:description" content="1. Overview of Vermeer 1.1 Architecture Vermeer is a high-performance, memory-first graph computing framework written in Go (start once, execute any task), supporting ultra-fast computation of 15+ OLAP graph algorithms (most tasks complete in seconds to minutes), with mast [...]
-The master is responsible for communication, forwarding, and aggregation, with minimal computation and resource usage."><meta property="og:type" content="article"><meta property="og:url" content="/docs/quickstart/computing/hugegraph-vermeer/"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2025-06-13T21:28:50+08:00"><meta property="og:site_name" content="HugeGraph"><meta itemprop=name content="HugeGraph-Vermeer Quick Start"><meta itemprop=d [...]
-The master is responsible for communication, forwarding, and aggregation, with minimal computation and resource usage."><meta itemprop=dateModified content="2025-06-13T21:28:50+08:00"><meta itemprop=wordCount content="2045"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="HugeGraph-Vermeer Quick Start"><meta name=twitter:description content="1. Overview of Vermeer 1.1 Architecture Vermeer is a high-performance, memory-first graph [...]
+The master is responsible for communication, forwarding, and aggregation, with minimal computation and resource usage."><meta property="og:type" content="article"><meta property="og:url" content="/docs/quickstart/computing/hugegraph-vermeer/"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2025-11-17T19:32:28+08:00"><meta property="og:site_name" content="HugeGraph"><meta itemprop=name content="HugeGraph-Vermeer Quick Start"><meta itemprop=d [...]
+The master is responsible for communication, forwarding, and aggregation, with minimal computation and resource usage."><meta itemprop=dateModified content="2025-11-17T19:32:28+08:00"><meta itemprop=wordCount content="2659"><meta itemprop=keywords content><meta name=twitter:card content="summary"><meta name=twitter:title content="HugeGraph-Vermeer Quick Start"><meta name=twitter:description content="1. Overview of Vermeer 1.1 Architecture Vermeer is a high-performance, memory-first graph [...]
The master is responsible for communication, forwarding, and aggregation, with minimal computation and resource usage."><link rel=preload href=/scss/main.min.3276a99ddd5b15fbe3fcf20f8237086c2cbb526b572f4f06a2246fa9279ed395.css as=style><link href=/scss/main.min.3276a99ddd5b15fbe3fcf20f8237086c2cbb526b572f4f06a2246fa9279ed395.css rel=stylesheet integrity><script src=/js/jquery.min.js></script>
<link rel=stylesheet href=/css/prism.css><script src=https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js></script>
<script>document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll("pre code.language-mermaid, code.language-mermaid, pre code.language-fallback, code.language-fallback"),e=[];t.forEach(function(t){var n=t.textContent.trim();(n.match(/^(graph|flowchart|sequenceDiagram|classDiagram|pie|gitgraph|erDiagram|journey|gantt|stateDiagram|mindmap|timeline|quadrantChart)/m)||n.includes("-->")||n.includes("->")||n.includes("style ")||n.includes("fill:"))&&e.push(t)}),e. [...]
@@ -10,32 +10,147 @@ The master is responsible for communication, forwarding, and aggregation, with m
<a href="https://github.com/apache/incubator-hugegraph-doc/new/master/content/en/docs/quickstart/computing/hugegraph-vermeer.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+% [...]
<a href="https://github.com/apache/incubator-hugegraph-doc/issues/new?title=HugeGraph-Vermeer%20Quick%20Start" class=td-page-meta--issue target=_blank rel=noopener><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
<a href=https://github.com/apache/incubator-hugegraph/issues/new class=td-page-meta--project-issue target=_blank rel=noopener><i class="fas fa-tasks fa-fw"></i> Create project issue</a>
-<a id=print href=/docs/quickstart/computing/_print/><i class="fa fa-print fa-fw"></i> Print entire section</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#1-overview-of-vermeer>1. Overview of Vermeer</a><ul><li><a href=#11-architecture>1.1 Architecture</a></li><li><a href=#12-running-method>1.2 Running Method</a></li></ul></li><li><a href=#2-task-creation-rest-api>2. Task Creation REST API</a><ul><li><a href=#21-introduction>2.1 Introduction</a></li><li><a href=#22-lo [...]
+<a id=print href=/docs/quickstart/computing/_print/><i class="fa fa-print fa-fw"></i> Print entire section</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#1-overview-of-vermeer>1. Overview of Vermeer</a><ul><li><a href=#11-architecture>1.1 Architecture</a></li><li><a href=#12-running-method>1.2 Running Method</a></li></ul></li><li><a href=#2-task-creation-rest-api>2. Task Creation REST API</a><ul><li><a href=#21-introduction>2.1 Introduction</a></li><li><a href=#22-lo [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># contributor license agreements. See the NOTICE file distributed with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># this work for additional information regarding copyright ownership.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># (the "License"); you may not use this file except in compliance with</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># the License. You may obtain a copy of the License at</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># http://www.apache.org/licenses/LICENSE-2.0</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># Unless required by applicable law or agreed to in writing, software</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># distributed under the License is distributed on an "AS IS" BASIS,</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># See the License for the specific language governing permissions and</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic># limitations under the License.</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#8f5902;font-style:italic>#</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>services</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-master</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/.config:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=master</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.10</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the master</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer-worker</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>image</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>hugegraph/vermeer</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>container_name</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>vermeer-worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>volumes</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#000>~/:/go/bin/config</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Change here to your actual config path</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>command</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span>--<span style=color:#000>env=worker</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipv4_address</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.11</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Assign a static IP for the worker</span [...]
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline></span><span style=color:#204a87;font-weight:700>networks</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>vermeer_network</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>driver</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#000>bridge</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>ipam</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#204a87;font-weight:700>config</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline>
+</span></span></span><span style=display:flex><span><span style=color:#f8f8f8;text-decoration:underline> </span>- <span style=color:#204a87;font-weight:700>subnet</span><span style=color:#000;font-weight:700>:</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#0000cf;font-weight:700>172.20.0.0</span><span style=color:#000>/24</span><span style=color:#f8f8f8;text-decoration:underline> </span><span style=color:#8f5902;font-style:italic># Define the [...]
+</span></span></span></code></pre></div><p>Modify <code>docker-compose.yaml</code></p><ul><li><strong>Volume</strong>: For example, change both instances of <code>~/:/go/bin/config</code> to <code>/home/user/config:/go/bin/config</code> (or your own configuration directory).</li><li><strong>Subnet</strong>: Modify the subnet IP based on your actual situation. Note that the ports each container needs to access are specified in the config file. Please refer to the contents of the project&r [...]
+</span></span><span style=display:flex><span>docker build -t hugegraph/vermeer .
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Start the services (in the vermeer root directory)</span>
+</span></span><span style=display:flex><span>docker-compose up -d
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Or use the new CLI:</span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># docker compose up -d</span>
+</span></span></code></pre></div><p>View Logs / Stop / Remove</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker-compose logs -f
+</span></span><span style=display:flex><span>docker-compose down
+</span></span></code></pre></div><ol start=2><li><strong>Option 2: Start individually via <code>docker run</code> (Manually create network and assign static IP)</strong></li></ol><p>Ensure the CONFIG_DIR has proper read/execute permissions for the Docker process.</p><p>Build the image:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker build -t hug [...]
+</span></span></code></pre></div><p>Create a custom bridge network (one-time operation):</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker network create --driver bridge <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --subnet 172.20.0.0/24 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> vermeer_network
+</span></span></code></pre></div><p>Run master (adjust <code>CONFIG_DIR</code> to your <strong>absolute</strong> configuration path, and you can adjust the IP as needed based on your actual situation).</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span><span style=color:#000>CONFIG_DIR</span><span style=color:#ce5c00;font-weight:700>=</span>/home/user/config
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-master <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.10 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>master
+</span></span></code></pre></div><p>Run worker:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker run -d <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --name vermeer-worker <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --network vermeer_network --ip 172.20.0.11 <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> -v <span style=color:#4e9a06>${</span><span style=color:#000>CONFIG_DIR</span><span style=color:#4e9a06>}</span>:/go/bin/config <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> hugegraph/vermeer <span style=color:#4e9a06>\
+</span></span></span><span style=display:flex><span><span style=color:#4e9a06></span> --env<span style=color:#ce5c00;font-weight:700>=</span>worker
+</span></span></code></pre></div><p>View logs / Stop / Remove:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>docker logs -f vermeer-master
+</span></span><span style=display:flex><span>docker logs -f vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span>docker stop vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>docker rm vermeer-master vermeer-worker
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic># Remove the custom network (if needed)</span>
+</span></span><span style=display:flex><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start=3><li><strong>Option 3: Build from Source</strong></li></ol><p>Build. You can refer<a href=https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer>Vermeer Readme</a>.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>go build
+</span></span></code></pre></div><p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p><h2 id=2-task-creation-rest-api>2. Task Creation REST API</h2><h3 id=21-introduction>2.1 Introduction</h3><p>This REST API provides all task creation functions, including reading graph data and various computation functions, offering both asynchronous and synchronous return interfaces. The returned content includes information about the create [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.v_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"{\"localhost\":\"data/twitter-2010.e_[0,99]\"}"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=2><li>Load from HugeGraph</li></ol><p><strong>Request Example:</strong></p><p>⚠️ Security Warning: Never store real passwords in configuration files or code. Use environment variables or a secure credential management system instead.</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:# [...]
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hugegraph"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hg_pd_peers"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"[\"<your-hugegraph-ip>:8686\"]"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"DEFAULT/hugegraph2/g"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_username"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"admin"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hugegraph_password"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"<your-password-here>"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
+</span></span></code></pre></div><ol start=3><li>Load from HDFS</li></ol><p><strong>Request Example:</strong></p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-javascript data-lang=javascript><span style=display:flex><span><span style=color:#000>POST</span> <span style=color:#000>http</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#8f5902;font-style:italic>//localhost:8688/tasks/create
+</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"load"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"50"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"hdfs"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_namenode"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"name_node1:9000"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_realm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_name"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"user@EXAMPLE.COM"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_keytab_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/keytab"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.krb_conf_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/path/to/krb5.conf"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.hdfs_use_krb"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.vertex_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/vertices"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.edge_files"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"/data/graph/edges"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_out_degree"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"load.use_outedge"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span>
+</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h3 id=23-output-computation-results>2.3 Output Computation Results</h3><p>All Vermeer computation tasks support multiple result output methods, which can be customized: local, hdfs, afs, or hugegraph. Add the corresponding parameters under the params parameter when sending the request to take effect. When output.need_statistics is set to 1, it supports outputting statistical information of the computation results, which will be written in the interface t [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"graph"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"testdb"</span><span style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"params"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.algorithm"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"pagerank"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
-</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"result/pagerank"</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"10"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"local"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.parallel"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"1"</span><span style=color:#000;font-weight:700>,</span>
+</span></span><span style=display:flex><span> <span style=color:#4e9a06>"output.file_path"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"result/pagerank"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
-</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
+</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
</span></span></code></pre></div><h2 id=3-supported-algorithms>3. Supported Algorithms</h2><h3 id=31-pagerank>3.1 PageRank</h3><p>The PageRank algorithm, also known as the web ranking algorithm, is a technique used by search engines to calculate the relevance and importance of web pages (nodes) based on their mutual hyperlinks.</p><ul><li>If a web page is linked to by many other web pages, it indicates that the web page is relatively important, and its PageRank value will be relatively h [...]
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"task_type"</span><span style=color:#ce5c00;font-weight:700>:</span> <span style=color:#4e9a06>"compute"</span><span style=color:#000;font-weight:700>,</span>
@@ -252,7 +367,7 @@ The master is responsible for communication, forwarding, and aggregation, with m
</span></span><span style=display:flex><span> <span style=color:#4e9a06>"compute.max_step"</span><span style=color:#ce5c00;font-weight:700>:</span><span style=color:#4e9a06>"200"</span>
</span></span><span style=display:flex><span> <span style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><blockquote><p>🚧, further updates and improvements will be made at any time. Suggestions and feedback are welcome.</p></blockquote><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback></code></pre></div><div class="text-muted mt-5 pt-3 border-top">Last modified June 13, 2025: <a href=https://github.com/apache/incubator-hugegraph-doc/commit/48ff6f261c63 [...]
+</span></span></code></pre></div><blockquote><p>🚧, further updates and improvements will be made at any time. Suggestions and feedback are welcome.</p></blockquote><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback></code></pre></div><div class="text-muted mt-5 pt-3 border-top">Last modified November 17, 2025: <a href=https://github.com/apache/incubator-hugegraph-doc/commit/6599d1f3 [...]
<script src=/js/bootstrap.min.js></script>
<script src=/js/mermaid.min.js></script>
<script src=/js/tabpane-persist.js></script>
diff --git a/docs/quickstart/computing/index.xml b/docs/quickstart/computing/index.xml
index ea99b159..6c3de69e 100644
--- a/docs/quickstart/computing/index.xml
+++ b/docs/quickstart/computing/index.xml
@@ -5,7 +5,111 @@
<p>The master is responsible for communication, forwarding, and aggregation, with minimal computation and resource usage. Workers are computation nodes used to store graph data and run computation tasks, consuming a large amount of memory and CPU. The grpc and rest modules handle internal communication and external calls, respectively.</p>
<p>The framework&rsquo;s runtime configuration can be passed via command-line parameters or specified in configuration files located in the <code>config/</code> directory. The <code>--env</code> parameter can specify which configuration file to use, e.g., <code>--env=master</code> specifies using <code>master.ini</code>. Note that the master needs to specify the listening port, and the worker needs to specify the listening port and the master&rsquo;s &l [...]
<h3 id="12-running-method">1.2 Running Method</h3>
-<p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p>
+<ol>
+<li><strong>Option 1: Docker Compose (Recommended)</strong></li>
+</ol>
+<p>Please ensure that <code>docker-compose.yaml</code> exists in your project root directory. If it doesn&rsquo;t, here is an example:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Licensed to the Apache Software Foundation (ASF) under one or more</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># contributor license agreements. See the NOTICE file distributed with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># this work for additional information regarding copyright ownership.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># The ASF licenses this file to You under the Apache License, Version 2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># (the &#34;License&#34;); you may not use this file except in compliance with</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># the License. You may obtain a copy of the License at</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># http://www.apache.org/licenses/LICENSE-2.0</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># Unless required by applicable law or agreed to in writing, software</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># distributed under the License is distributed on an &#34;AS IS&#34; BASIS,</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># See the License for the specific language governing permissions and</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic"># limitations under the License.</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#8f5902;font-style:italic">#</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">services</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-master</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/.config:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=master</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.10</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style=" [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer-worker</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">hugegraph/vermeer</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">vermeer-worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#000">~/:/go/bin/config</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#8f5902;font-style:italic"># Change here to your actual config path</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">command</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span>--<span style="color:#000">env=worker</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipv4_address</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.11</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style=" [...]
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"></span><span style="color:#204a87;font-weight:bold">networks</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">vermeer_network</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">driver</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">bridge</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">ipam</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:bold">config</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline">
+</span></span></span><span style="display:flex;"><span><span style="color:#f8f8f8;text-decoration:underline"> </span>- <span style="color:#204a87;font-weight:bold">subnet</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:bold">172.20.0.0</span><span style="color:#000">/24</span><span style="color:#f8f8f8;text-decoration:un [...]
+</span></span></span></code></pre></div><p>Modify <code>docker-compose.yaml</code></p>
+<ul>
+<li><strong>Volume</strong>: For example, change both instances of <code>~/:/go/bin/config</code> to <code>/home/user/config:/go/bin/config</code> (or your own configuration directory).</li>
+<li><strong>Subnet</strong>: Modify the subnet IP based on your actual situation. Note that the ports each container needs to access are specified in the config file. Please refer to the contents of the project&rsquo;s <code>config</code> folder for details.</li>
+</ul>
+<p>Build the Image and Start in the Project Directory (or <code>docker build</code> first, then <code>docker-compose up</code>)</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Build the image (in the project root vermeer directory)</span>
+</span></span><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Start the services (in the vermeer root directory)</span>
+</span></span><span style="display:flex;"><span>docker-compose up -d
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Or use the new CLI:</span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># docker compose up -d</span>
+</span></span></code></pre></div><p>View Logs / Stop / Remove</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker-compose logs -f
+</span></span><span style="display:flex;"><span>docker-compose down
+</span></span></code></pre></div><ol start="2">
+<li><strong>Option 2: Start individually via <code>docker run</code> (Manually create network and assign static IP)</strong></li>
+</ol>
+<p>Ensure the CONFIG_DIR has proper read/execute permissions for the Docker process.</p>
+<p>Build the image:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker build -t hugegraph/vermeer .
+</span></span></code></pre></div><p>Create a custom bridge network (one-time operation):</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker network create --driver bridge <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --subnet 172.20.0.0/24 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> vermeer_network
+</span></span></code></pre></div><p>Run master (adjust <code>CONFIG_DIR</code> to your <strong>absolute</strong> configuration path, and you can adjust the IP as needed based on your actual situation).</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#000">CONFIG_DIR</span><span style="color:#ce5c00;font-weight:bold">=</span>/home/user/config
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-master <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.10 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>master
+</span></span></code></pre></div><p>Run worker:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker run -d <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --name vermeer-worker <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --network vermeer_network --ip 172.20.0.11 <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> -v <span style="color:#4e9a06">${</span><span style="color:#000">CONFIG_DIR</span><span style="color:#4e9a06">}</span>:/go/bin/config <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> hugegraph/vermeer <span style="color:#4e9a06">\
+</span></span></span><span style="display:flex;"><span><span style="color:#4e9a06"></span> --env<span style="color:#ce5c00;font-weight:bold">=</span>worker
+</span></span></code></pre></div><p>View logs / Stop / Remove:</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>docker logs -f vermeer-master
+</span></span><span style="display:flex;"><span>docker logs -f vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span>docker stop vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>docker rm vermeer-master vermeer-worker
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Remove the custom network (if needed)</span>
+</span></span><span style="display:flex;"><span>docker network rm vermeer_network
+</span></span></code></pre></div><ol start="3">
+<li><strong>Option 3: Build from Source</strong></li>
+</ol>
+<p>Build. You can refer<a href="https://github.com/apache/incubator-hugegraph-computer/tree/master/vermeer">Vermeer Readme</a>.</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>go build
+</span></span></code></pre></div><p>Enter the directory and input <code>./vermeer --env=master</code> or <code>./vermeer --env=worker01</code>.</p>
<h2 id="2-task-creation-rest-api">2. Task Creation REST API</h2>
<h3 id="21-introduction">2.1 Introduction</h3>
<p>This REST API provides all task creation functions, including reading graph data and various computation functions, offering both asynchronous and synchronous return interfaces. The returned content includes information about the created tasks. The overall process of using Vermeer is to first create a task to read the graph data, and after the graph is read, create a computation task to execute the computation. The graph will not be automatically deleted; multiple computation tasks [...]
@@ -16,7 +120,11 @@
</ul>
<h3 id="22-loading-graph-data">2.2 Loading Graph Data</h3>
<p>Refer to the Vermeer parameter list document for specific parameters.</p>
-<p>Request example:</p>
+<p>Vermeer provides three ways to load data:</p>
+<ol>
+<li>Load from Local Files</li>
+</ol>
+<p><strong>Request Example:</strong></p>
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
@@ -30,6 +138,50 @@
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="2">
+<li>Load from HugeGraph</li>
+</ol>
+<p><strong>Request Example:</strong></p>
+<p>⚠️ Security Warning: Never store real passwords in configuration files or code. Use environment variables or a secure credential management system instead.</p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hugegraph&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hg_pd_peers&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;[\&#34;&lt;your-hugegraph-ip&gt;:8686\&#34;]&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;DEFAULT/hugegraph2/g&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_username&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;admin&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hugegraph_password&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;&lt;your-password-here&gt;&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
+</span></span></code></pre></div><ol start="3">
+<li>Load from HDFS</li>
+</ol>
+<p><strong>Request Example:</strong></p>
+<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#000">POST</span> <span style="color:#000">http</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#8f5902;font-style:italic">//localhost:8688/tasks/create
+</span></span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;task_type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;load&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;50&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;hdfs&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_namenode&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;name_node1:9000&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_realm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_name&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;user@EXAMPLE.COM&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_keytab_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/keytab&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.krb_conf_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/path/to/krb5.conf&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.hdfs_use_krb&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.vertex_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/vertices&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.edge_files&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;/data/graph/edges&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_out_degree&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;load.use_outedge&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span>
+</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h3 id="23-output-computation-results">2.3 Output Computation Results</h3>
<p>All Vermeer computation tasks support multiple result output methods, which can be customized: local, hdfs, afs, or hugegraph. Add the corresponding parameters under the params parameter when sending the request to take effect. When output.need_statistics is set to 1, it supports outputting statistical information of the computation results, which will be written in the interface task information. The statistical mode operators currently support &ldquo;count&rdquo; and & [...]
<p>Refer to the Vermeer parameter list document for specific parameters.</p>
@@ -40,13 +192,13 @@
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;graph&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;testdb&#34;</span><span style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;params&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.algorithm&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;pagerank&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
-</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span><span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
-</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;compute.max_step&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;10&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.type&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;local&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.parallel&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;1&#34;</span><span style="color:#000;font-weight:bold">,</span>
+</span></span><span style="display:flex;"><span> <span style="color:#4e9a06">&#34;output.file_path&#34;</span><span style="color:#ce5c00;font-weight:bold">:</span> <span style="color:#4e9a06">&#34;result/pagerank&#34;</span>
</span></span><span style="display:flex;"><span> <span style="color:#000;font-weight:bold">}</span>
+</span></span><span style="display:flex;"><span><span style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><h2 id="3-supported-algorithms">3. Supported Algorithms</h2>
<h3 id="31-pagerank">3.1 PageRank</h3>
<p>The PageRank algorithm, also known as the web ranking algorithm, is a technique used by search engines to calculate the relevance and importance of web pages (nodes) based on their mutual hyperlinks.</p>
diff --git a/en/sitemap.xml b/en/sitemap.xml
index d0567cbb..1ab3814f 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2025-06-13T21:28:50+08:00</lastmod><xhtml:link rel="alternate" hreflang="cn" href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate" hreflang="en" href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2025-09-25T17:04:41+08:00</last [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2025-06-13T21:28:50+08:00</lastmod><xhtml:link rel="alternate" hreflang="cn" href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate" hreflang="en" href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2025-09-25T17:04:41+08:00</last [...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 31c3487a..5fafe3d7 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/en/sitemap.xml</loc><lastmod>2025-11-16T06:36:39-06:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2025-11-16T06:36:39-06:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/en/sitemap.xml</loc><lastmod>2025-11-17T19:32:28+08:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2025-11-17T19:32:28+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file