Graph View
A graph of all pages.
Installation
You can install this from CLI:
Install to your codebase
Easier customisation & control.
Usage
You can use it in MDX files or the layout components (e.g. in page.tsx
):
import { GraphView } from '@/components/graph-view';
import { buildGraph } from '@/lib/build-graph';
export function PageBody() {
return (
<div>
<GraphView graph={buildGraph()} />
{/* ... */}
</div>
);
}
How is this guide?
Last updated on