This page contains information pertaining the configuration of the graph itself,
if you are looking for ways to configure the sitemap,
see the sitemap configuration .
The graph config can be set in three different ways, each overriding the previous one:
import starlight from ' @astrojs/starlight '
import { defineConfig } from ' astro/config '
import starlightSiteGraph from ' starlight-site-graph '
export default defineConfig ({
plugins: [ starlightSiteGraph ({
// Global graph configuration
My page content goes here!
import { Graph, PageGraph } from 'starlight-site-graph/components';
This page contains two different graphs:
< Graph sitemap = { { ... } } config = { { ... } } slug = " my-page/ " />
< PageGraph config = { { ... } } />
Sections
General
Interaction
Quick Actions Configure the quick actions that can be performed on the graph. Zoom Configure zooming options for the graph. Hover Configure hovering options for the graph.
Rendering
Nodes Configure how nodes are rendered. Tags Configure how tags are handled. Links Configure how links are rendered. Labels Configure how labels are rendered.