Files
saberzero1 af5246ce33 docs: Quartz 5.1 — upgrade notes, what's new, plugin manifest reference, plugin development, CLI, configuration, features and plugin pages
Audit of the docs against 5.1 (release notes, core source, plugins) and fixes:
- getting-started: 5.0 → 5.1 upgrade section (plugin doctor --fix, line breaks, heading ids, Bases 1.2, permalinks, frontmatter, CI, GFM before OFM), New in 5.1, git pull upstream v5, no redundant install steps
- advanced: new plugin manifest reference (dependencies, defaultOrder, configSchema/optionSchema, deprecated, components…), making plugins (BuildCtx, emitters, page types, peer dependencies, imports), creating components (./components subpath, script loading, render/prefetch contract), capabilities, architecture, paths
- cli: --directory is the content folder; build/sync flags and behaviour (sync force-pushes); plugin add from npm
- configuration, layout, features and plugin pages: nested colors, built-ins, wikilinks/heading anchors, Obsidian compatibility (OFM 2.0), correct defaults and options, Bases 1.2, stacked pages, og-image v5 API; new pages for Excalidraw, TTRPG maps and themes
2026-11-09 22:27:00 +01:00

2.6 KiB

title, description, tags, image, repository, enabled, required
title description tags image repository enabled required
Graph Interactive link graph visualization.
plugin/component
[quartz-community/graph](https://github.com/quartz-community/graph) true false

Interactive graph visualization.

Note

For information on how to add, remove or configure plugins, see the configuration#Plugins page.

See graph view for detailed usage information.

Configuration

This plugin accepts the following configuration options:

  • localGraph: Options for the local graph view.
  • globalGraph: Options for the global graph view.

Both localGraph and globalGraph accept the following options:

  • drag: Enable dragging nodes. Defaults to true.
  • zoom: Enable zooming. Defaults to true.
  • depth: The depth of the graph. Defaults to 1 for local and -1 (all pages) for global.
  • scale: The initial scale of the graph. Defaults to 1.1 for local and 0.9 for global.
  • repelForce: The force that pushes nodes apart. Defaults to 0.5.
  • centerForce: The force that pulls nodes to the center. Defaults to 0.3 for local and 0.2 for global.
  • linkDistance: The distance between linked nodes. Defaults to 30.
  • fontSize: The font size of node labels. Defaults to 0.6.
  • opacityScale: The scale of node opacity. Defaults to 1.
  • removeTags: Tag nodes to leave out of the graph. Defaults to [].
  • showTags: Whether to show tags as nodes in the graph. Defaults to true.
  • enableRadial: Whether to enable radial layout. Defaults to false for local and true for global.
  • focusOnHover: Whether to focus on the hovered node. Defaults to false for local and true for global.

Default options

- source: "@quartz-community/graph"
  enabled: true
  options:
    localGraph:
      drag: true
      zoom: true
      depth: 1
      scale: 1.1
      repelForce: 0.5
      centerForce: 0.3
      linkDistance: 30
      fontSize: 0.6
      opacityScale: 1
      removeTags: []
      showTags: true
      focusOnHover: false
      enableRadial: false
    globalGraph:
      drag: true
      zoom: true
      depth: -1
      scale: 0.9
      repelForce: 0.5
      centerForce: 0.2
      linkDistance: 30
      fontSize: 0.6
      opacityScale: 1
      removeTags: []
      showTags: true
      focusOnHover: true
      enableRadial: true
  layout:
    position: right
    priority: 10

API

  • Category: Component
  • Function name: ExternalPlugin.Graph().
  • Source: quartz-community/graph
  • Install: npx quartz plugin add @quartz-community/graph (included in the default configuration)