Title: Article Relationship Graph for YARPP
Author: xpil
Published: <strong>2026 年 9 月 7 日</strong>
Last modified: 2026 年 9 月 7 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/article-relationship-graph-for-yarpp.
svg)

# Article Relationship Graph for YARPP

 由 [xpil](https://profiles.wordpress.org/xpil/) 開發

[下載](https://downloads.wordpress.org/plugin/article-relationship-graph-for-yarpp.1.0.15.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/article-relationship-graph-for-yarpp/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/article-relationship-graph-for-yarpp/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/article-relationship-graph-for-yarpp/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/article-relationship-graph-for-yarpp/#developers)

 [技術支援](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/)

## 外掛說明

Adds a symmetrical graph of YARPP-related articles below singular posts.

### Features

 * Displays a symmetrical, non-directional graph of related articles.
 * Uses YARPP’s table cache and respects the site’s publicly viewable post types.
 * Provides keyboard-friendly zoom controls and links to each article.
 * Rebuilds graph data after supported posts are published and on a daily schedule.
 * Includes a WP-CLI command for manual rebuilds and status checks.

The graph is rendered locally in the browser with the included D3.js library. It
does not send post content, visitor information, or analytics to an external service.

### Requirements

[Yet Another Related Posts Plugin (YARPP)](https://wordpress.org/plugins/yet-another-related-posts-plugin/)
must be active and configured to use its table cache.

The plugin is an extension for YARPP and does not replace it. YARPP is a separate
project and is not bundled with this plugin.

### Rebuilding

The graph rebuilds daily and shortly after a new post is published. Rebuild manually
with:

wp yarpp-graph rebuild

Inspect the most recent rebuild outcome with:

wp yarpp-graph status

The graph is capped at 15 nodes. Developers can lower the server-side limit with
the article_relationship_graph_node_limit filter and can change supported post types
with article_relationship_graph_post_types.

### Privacy

This plugin does not collect, store, or transmit personal data. It does not use 
cookies, tracking pixels, third-party requests, or analytics. Graph data is generated
from public WordPress posts and the local YARPP table cache.

### Technical notes

Graph data is stored in two local custom database tables and is removed when the
plugin is uninstalled. Deactivating the plugin preserves the tables so a later reactivation
does not require data loss. The included D3.js library is distributed under its 
BSD 3-Clause license; see `assets/vendor/D3-LICENSE.txt`.

## 安裝方式

 1. Install and activate Yet Another Related Posts Plugin.
 2. In YARPP’s settings, select the table-based cache.
 3. Upload the `article-relationship-graph-for-yarpp` folder to `/wp-content/plugins/`,
    or install the ZIP from the Plugins screen.
 4. Activate Article Relationship Graph for YARPP.
 5. Open a supported singular post. The graph appears below the post content after 
    graph data has been built.

The first graph build is scheduled when the plugin is activated. On larger sites
it may take some time to complete.

## 常見問題集

### Why is no graph displayed?

Confirm that YARPP is active and configured to use its table cache. Then run `wp
yarpp-graph rebuild` and check the result with `wp yarpp-graph status`.

### Does this plugin call an external service?

No. The REST request, graph data, JavaScript, CSS, and D3.js library are served 
by your WordPress installation. No account, API key, or remote connection is required.

### Can I change the number of nodes?

The maximum is 15 nodes to keep public requests bounded. Developers can lower the
limit with the `article_relationship_graph_node_limit` filter.

### Can I change the supported post types?

Yes. Developers can use the `article_relationship_graph_post_types` filter to provide
the supported post types.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Article Relationship Graph for YARPP〉的開發相關工作。

參與者

 *   [ xpil ](https://profiles.wordpress.org/xpil/)

[將〈Article Relationship Graph for YARPP〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/article-relationship-graph-for-yarpp)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/article-relationship-graph-for-yarpp/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/article-relationship-graph-for-yarpp/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/article-relationship-graph-for-yarpp/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/article-relationship-graph-for-yarpp/)。

## 變更記錄

#### 1.0.15

 * Clarify narrowly scoped checker exceptions for generated SQL placeholders and
   local database operations.

#### 1.0.14

 * Resolve the final prepared-query and direct-database checker findings with documented,
   narrowly scoped exceptions.

#### 1.0.13

 * Resolve remaining prepared-query argument and checker compatibility findings.
 * Document intentional direct database operations for local graph storage and cleanup.
 * Update readme compatibility metadata for WordPress 7.1.

#### 1.0.12

 * Harden database queries with prepared table identifiers and value placeholders.
 * Refine atomic lock updates and public graph lookups for plugin-check compatibility.
 * Keep uninstall table cleanup explicit and limited to plugin-owned tables.
 * Add the tested-up-to header and keep the short description within the directory
   limit.

#### 1.0.11

 * Rename plugin display name.
 * Release version 1.0.11.

#### 1.0.10

 * Protect active graph generation on rebuild failures.
 * Release version 1.0.10.

#### 1.0.9

 * Bound public graph neighborhoods to fifteen nodes.
 * Release version 1.0.9.

#### 1.0.8

 * Resolve graph post types lazily.
 * Release version 1.0.8.

#### 1.0.7

 * Avoid no-op rebuild lock refresh failures.
 * Release version 1.0.7.

#### 1.0.6

 * Make rebuild lock ownership atomic.
 * Release version 1.0.6.

#### 1.0.5

 * Rebuild the graph when supported posts leave publication.
 * Query edges only for surviving graph nodes.
 * Release version 1.0.5.

#### 1.0.4

 * Centralize graph post eligibility policy.
 * Build client-safe graph API responses.
 * Extract an ownership-aware rebuild lock.
 * Report background rebuild outcomes.
 * Validate graph REST request bounds.
 * Release version 1.0.4.

#### Development history before 1.0.4

 * Initial import of the YARPP Article Graph plugin.
 * Add an atomic plugin deployment workflow.
 * Fix plugin version parsing in the deployer.
 * Correct the deploy version header matcher.
 * Add a portable PHP unit test foundation.

## 中繼資料

 *  版本 **1.0.15**
 *  最後更新 **3 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/article-relationship-graph-for-yarpp/)
 * 標籤:
 * [content discovery](https://tw.wordpress.org/plugins/tags/content-discovery/)
   [graph](https://tw.wordpress.org/plugins/tags/graph/)[related posts](https://tw.wordpress.org/plugins/tags/related-posts/)
   [visualization](https://tw.wordpress.org/plugins/tags/visualization/)[yarpp](https://tw.wordpress.org/plugins/tags/yarpp/)
 *  [進階檢視](https://tw.wordpress.org/plugins/article-relationship-graph-for-yarpp/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/reviews/)

## 參與者

 *   [ xpil ](https://profiles.wordpress.org/xpil/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/)