mirror of
https://github.com/jackyzha0/quartz
synced 2026-11-27 22:14:40 +01:00
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
2.6 KiB
2.6 KiB
title, description, tags, image, repository, enabled, required
| title | description | tags | image | repository | enabled | required | |
|---|---|---|---|---|---|---|---|
| Graph | Interactive link graph visualization. |
|
[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 totrue.zoom: Enable zooming. Defaults totrue.depth: The depth of the graph. Defaults to1for local and-1(all pages) for global.scale: The initial scale of the graph. Defaults to1.1for local and0.9for global.repelForce: The force that pushes nodes apart. Defaults to0.5.centerForce: The force that pulls nodes to the center. Defaults to0.3for local and0.2for global.linkDistance: The distance between linked nodes. Defaults to30.fontSize: The font size of node labels. Defaults to0.6.opacityScale: The scale of node opacity. Defaults to1.removeTags: Tag nodes to leave out of the graph. Defaults to[].showTags: Whether to show tags as nodes in the graph. Defaults totrue.enableRadial: Whether to enable radial layout. Defaults tofalsefor local andtruefor global.focusOnHover: Whether to focus on the hovered node. Defaults tofalsefor local andtruefor 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)