Relationship Graph

By Goosequill
2 minutes read 307 words

Table of Contents

  1. What It Does
  2. How To Use It
  3. Data Source

Goosequill includes a relationship graph for showing links between posts, pages, tags, and wiki-style references.

As the site grows, pages are often connected by more than time or tags. The graph puts related pages on one map, so readers can continue browsing through context.

If you are setting up Goosequill for the first time, start with Quick start.

What It Does

Besides article lists, pagination, and tag pages, the graph shows nearby pages directly. Readers can click nodes to move between related content.

It supports:

There are two common views:

How To Use It

The full graph page gives a broad view of the site. It is useful when someone wants to scan the shape of the archive, search for a topic, or jump between related clusters.

Inside an article, the local graph narrows the view to the current post and its neighbors. That smaller view is better for reading because it shows what came before, what points forward, and what belongs nearby without forcing the reader away from the page.

The expanded modal keeps the same local context but gives the graph more room. It preserves the current focus, supports zooming and resetting, and can be closed without losing the article.

Data Source

The graph is generated from Astro content collections and rendered as SVG on the client. Posts, pages, tags, and wiki links are included in the graph data.

English and Chinese routes receive separate graph data, so pages from different languages are not mixed into one graph.

flowchart LR Posts[Posts] --> Tags[Tags] Posts --> Pages[Pages] Pages --> Graph[Relationship Graph] Graph --> Local[Article graph] Graph --> Global[Full graph]

Relationship Graph

Loading graph...