Title: Article Relationship Graph for YARPP
Author: xpil
Published: <strong>September 7, 2026</strong>
Last modified: October 13, 2026

---

Search plugins

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

# Article Relationship Graph for YARPP

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

[Download](https://downloads.wordpress.org/plugin/article-relationship-graph-for-yarpp.1.0.17.zip)

 * [Details](https://pcm.wordpress.org/plugins/article-relationship-graph-for-yarpp/#description)
 * [Reviews](https://pcm.wordpress.org/plugins/article-relationship-graph-for-yarpp/#reviews)
 *  [Installation](https://pcm.wordpress.org/plugins/article-relationship-graph-for-yarpp/#installation)
 * [Development](https://pcm.wordpress.org/plugins/article-relationship-graph-for-yarpp/#developers)

 [Support](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/)

## Description

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

### Features

 * Displays a symmetrical, non-directional graph of the website’s current YARPP 
   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, after publication changes, and automatically when relationship-
relevant YARPP configuration changes. Matching weights, thresholds, taxonomy requirements/
exclusions, eligible post types, ordering, and persistent cache capacity are tracked;
templates, CSS and thumbnails are not. Saves coalesce for 90 seconds, with an hourly
consistency check as a fallback.

Rebuilds refresh every eligible graph article using YARPP in batches of 25. The 
previous stored graph remains available until a complete replacement is activated
with its configuration fingerprint. Interrupted jobs preserve pending work and retry
automatically. Large sites should run WP-Cron through a system scheduler. Safe refresh
requires InnoDB options, relationship-cache and graph-edge tables; unsupported engines
fail safely without replacing the graph. The integration is audited against YARPP
5.30.11. Custom matching-filter changes cannot be detected from stored settings,
and an individual article matching query can still be expensive. See docs/configuration-
sync.md in the source repository for implementation details.

Rebuild manually with:

wp yarpp-graph rebuild

Inspect the most recent rebuild outcome with:

wp yarpp-graph status

The graph includes up to 15 related articles plus the current article (16 nodes).
Membership and ordering follow YARPP’s website settings; reverse-only and second-
degree matches are not added. Developers can lower the total server-side node 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 connection weights and metrics are stored in two local custom database tables
and are 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`.

## Installation

 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.

## FAQ

### 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 16 nodes: the current article and up to 15 YARPP matches. 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Article Relationship Graph for YARPP” is open source software. The following people
have contributed to this plugin.

Contributors

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

[Translate “Article Relationship Graph for YARPP” into your language.](https://translate.wordpress.org/projects/wp-plugins/article-relationship-graph-for-yarpp)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/article-relationship-graph-for-yarpp/),
check out the [SVN repository](https://plugins.svn.wordpress.org/article-relationship-graph-for-yarpp/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/article-relationship-graph-for-yarpp/)
by [RSS](https://plugins.trac.wordpress.org/log/article-relationship-graph-for-yarpp/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.17

 * Automatically synchronise matching configuration changes with debouncing and 
   hourly drift detection.
 * Regenerate YARPP relationships in bounded batches before activating a fingerprinted
   generation.
 * Preserve publication work, reject obsolete generations, and recover interrupted
   rebuilds with bounded retries.

#### 1.0.16

 * Fix YARPP table-cache warm-up before graph rebuilds.
 * Match graph articles and ordering to the current YARPP website results.
 * Display new relationships immediately, without waiting for a graph rebuild.
 * Allow up to 15 related articles plus the current article; the node-limit filter
   still caps total nodes.

#### 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.

## Meta

 *  Version **1.0.17**
 *  Last updated **1 month ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/article-relationship-graph-for-yarpp/)
 * Tags
 * [content discovery](https://pcm.wordpress.org/plugins/tags/content-discovery/)
   [graph](https://pcm.wordpress.org/plugins/tags/graph/)[related posts](https://pcm.wordpress.org/plugins/tags/related-posts/)
   [visualization](https://pcm.wordpress.org/plugins/tags/visualization/)[yarpp](https://pcm.wordpress.org/plugins/tags/yarpp/)
 *  [Advanced View](https://pcm.wordpress.org/plugins/article-relationship-graph-for-yarpp/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/article-relationship-graph-for-yarpp/)