Content Model Graph
Studio v2
This plugin only works with an older version of Sanity Studio (v2), which is deprecated.
Instant graph for your content model in your Sanity Studio.
v2 install command (deprecated)
sanity install content-model-graphsanity-plugin-content-model-graph
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-content-model-graphUsage
Add it as a plugin in sanity.config.ts (or .js):
import { defineConfig } from "sanity";
import { myPlugin } from "sanity-plugin-content-model-graph";
export default defineConfig({
//...
plugins: [myPlugin({})],
});Examples (need updating, it looks nicer now)
Sanity's Movie schema

Sanity's Product schema

License
MIT © ahm Digital
Develop & test
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.