sanity-plugin-content-model-graph
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

sanity-plugin-content-model-graph

This is a Sanity Studio v3 plugin.

Installation

npm install sanity-plugin-content-model-graph

Usage

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

Screen Shot 1 Screen Shot 2

Sanity's Product schema

Screen Shot 2019-11-16 at 11 52 00 pm Screen Shot 2019-11-16 at 11 52 12 pm

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    20
    • latest

Version History

Package Sidebar

Install

npm i sanity-plugin-content-model-graph

Weekly Downloads

46

Version

2.0.0

License

MIT

Unpacked Size

69.2 kB

Total Files

22

Last publish

Collaborators

  • camjc