Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GraphQL
  3. CraftQL

CraftQL

MITRust

A CLI tool to visualize GraphQL schemas and output them as Graphviz .dot format for dependency analysis.

GitHubGitHub
113 stars2 forks0 contributors

What is CraftQL?

CraftQL is a command-line interface (CLI) tool built in Rust that analyzes GraphQL schema files. It visualizes the structure and dependencies within a GraphQL schema by outputting a graph data structure in Graphviz's .dot format, which can be used to generate diagrams. It helps developers understand complex GraphQL APIs by identifying relationships, missing definitions, and orphaned types.

Target Audience

GraphQL API developers and architects who need to visualize, analyze, and maintain GraphQL schemas, especially in projects with many types and complex dependencies.

Value Proposition

Developers choose CraftQL for its fast, command-line based analysis of GraphQL schemas without requiring a running server. Its ability to output to Graphviz format and perform detailed dependency checks makes it a unique tool for static schema inspection and documentation.

Overview

A CLI tool to visualize GraphQL schemas and to output a graph data structure as a graphviz .dot format

Use Cases

Best For

  • Generating visual diagrams of GraphQL schema dependencies
  • Identifying unused or orphaned types in a GraphQL schema
  • Analyzing incoming and outgoing dependencies for specific GraphQL nodes
  • Checking for missing type definitions in GraphQL schemas
  • Filtering and inspecting specific GraphQL types like objects or interfaces
  • Integrating GraphQL schema analysis into CI/CD pipelines

Not Ideal For

  • Teams needing to analyze live GraphQL schemas via introspection endpoints
  • Developers wanting interactive, web-based schema visualization without installing additional tools
  • Projects where GraphQL schemas are dynamically generated or require real-time validation

Pros & Cons

Pros

Fast Static Analysis

Built in Rust, CraftQL quickly parses GraphQL files without a running server, enabling rapid schema inspection as demonstrated in the command-line usage examples.

Detailed Dependency Insights

Provides both incoming and outgoing dependency analysis for specific nodes, helping identify complex relationships, shown with the --incoming-dependencies and --outgoing-dependencies flags.

Comprehensive Filtering Options

Supports filtering by various GraphQL types like objects, interfaces, and enums for targeted analysis, as detailed in the --filter option with multiple type categories.

Automated Schema Health Checks

Detects orphans and missing definitions automatically, aiding in maintaining clean schemas, evidenced by the --orphans and --missing-definitions flags in the README.

Cons

Limited Visualization Output

Only outputs Graphviz .dot format, requiring external tools like Graphviz to generate diagrams, which adds setup complexity and extra steps for users.

No Live Schema Support

Cannot connect to running GraphQL servers; analysis is restricted to static files, limiting its use in dynamic or introspection-based workflows.

Basic Setup Requirements

Requires Rust and Cargo installation for use, which might be a barrier for teams not already familiar with or using Rust tooling.

Frequently Asked Questions

Quick Stats

Stars113
Forks2
Contributors0
Open Issues0
Last commit3 years ago
CreatedSince 2020

Tags

#graph#developer-tools#schemas#graphql#schema-visualization#terminal#schema#cli-tool#dependency-analysis#graphviz#rustlang#cli#rust#static-analysis

Built With

R
Rust

Included in

GraphQL15.0k
Auto-fetched 10 hours ago

Related Projects

BrunoBruno

Opensource IDE For Exploring and Testing API's (lightweight alternative to Postman/Insomnia)

Stars46,819
Forks2,854
Last commit22 hours ago
GraphiQLGraphiQL

GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.

Stars16,905
Forks1,853
Last commit23 hours ago
GraphQL VoyagerGraphQL Voyager

🛰️ Represent any GraphQL API as an interactive graph

Stars8,165
Forks555
Last commit3 months ago
GraphQL EditorGraphQL Editor

📺 Visual Editor & GraphQL IDE.

Stars6,066
Forks280
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub