npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

strapi-plugin-schema-visualizer

v1.0.5

Published

A Strapi plugin to visualize and interact with your application's schema, providing an intuitive graphical representation for better understanding and management.

Readme

Schema Visualizer

A powerful Strapi plugin for visualizing your content types and their relationships in an interactive diagram. This plugin helps developers and content managers understand the structure of their content types and how they relate to each other.

Note: This plugin is compatible with Strapi v5.

Prerequisites

  • Strapi v5.0.0 or higher
  • Node.js 18.x or higher
  • npm 9.x or higher (or equivalent yarn/pnpm)

Credits and Acknowledgements

This plugin was created by forking and enhancing the excellent Content-Type Explorer by ShahriarKh. We're grateful for his foundational work that made this plugin possible. The original plugin has been migrated to newer Strapi versions and enhanced with additional features while maintaining the core visualization functionality.

Features

  • Interactive Schema Visualization: View all your content types and their relationships in an interactive diagram
  • Customizable Display: Toggle visibility of admin types, plugin types, default fields, and more
  • Relationship Visualization: See connections between content types with different edge styles
  • Layout Options: Choose between vertical and horizontal layouts
  • Export Functionality: Export diagrams as images for documentation or presentations
  • Performance Optimized: Designed to handle large schemas with smooth performance

Installation

# Using npm
npm install schema-visualizer --save

# Using yarn
yarn add schema-visualizer

Configuration

After installing the plugin, you need to enable it in your Strapi application:

  1. Go to config/plugins.js or create it if it doesn't exist:
module.exports = {
  // ...
  'schema-visualizer': {
    enabled: true,
  },
  // ...
}

Usage

  1. Log in to your Strapi admin panel
  2. Navigate to the Schema Visualizer from the main menu
  3. The visualization will load automatically, displaying all your content types and their relationships. (click on regenerate button if it doesn't load autmoatically)

Interface Overview

Screenshot from 2025-05-05 12-07-32

Controls and Options

The plugin provides several options to customize the visualization:

  • Layout Controls: Switch between vertical and horizontal layouts
  • Display Options:
    • Show/hide admin types
    • Show/hide plugin types
    • Show/hide types on nodes
    • Show/hide field icons
    • Show relations only (hide non-relation fields)
    • Show/hide default fields
  • Visual Options:
    • Background pattern options
    • Edge type selection (bezier, step, straight)
    • Toggle edge visibility
    • Toggle grid snapping

Interactive Features

  • Drag Nodes: Rearrange nodes by dragging them
  • Zoom & Pan: Navigate around the diagram using your mouse
  • Toggle Mouse Mode: Switch between zoom mode and scroll mode
  • Export: Export the current view as an image for documentation

Examples

Basic Schema Visualization

image (25)

Focused Relationship View

Screenshot from 2025-05-02 14-27-59

Export Example

Screenshot from 2025-05-02 14-28-17

Performance Tips

For large schemas with many content types and relationships:

  1. Hide unnecessary information using the display options
  2. Toggle off edge animations for smoother performance
  3. Use the layout buttons to automatically organize your diagram
  4. Consider filtering to show only relations for a clearer view

Technical Details

This plugin is built using:

  • ReactFlow for diagram rendering
  • Dagre for automatic layout
  • Strapi Design System for UI components
  • HTML-to-image for export functionality

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT