Skip to content

Vaibhav-Samdani/architect-json-visualizer

Repository files navigation

Architect: The Pro JSON Visualizer

Visualize, edit, and architect your JSON data with unparalleled precision and elegance.

Architect is a professional-grade JSON Visualizer and Editor built for developers who demand the best. Experience seamless two-way synchronization between a powerful code editor and an interactive graph canvas, powered by cutting-edge web technologies.

✨ Key Features

🔄 Two-Way Real-time Sync

Monaco Editor and React Flow canvas are perfectly bound. Edit in code, see instant graph updates; modify nodes in the graph, watch the code transform in real-time.

🌌 Infinite Canvas with Dagre Auto-Layout

Handle massive JSON datasets effortlessly with automatic hierarchical tree positioning. No more cramped views – expand your data universe.

🔍 Command+K Search Palette

Global search to instantly navigate to any key, value, or object. Fly through your data with lightning speed.

📋 Deep Inspector Side-Panel

A dedicated space to comfortably read and edit long string values. No more squinting at truncated text in tiny nodes.

⚡ Code Generation

Instant TypeScript interface generation from your JSON structure. Turn data into type-safe code with a single click.

🧭 Smart Navigation

Clickable references to "fly" the camera to child nodes. Navigate complex data structures like a pro.

📦 Recursive Node Collapsing

Fold away entire data branches to manage visual noise. Focus on what matters, hide the rest.

🎨 Pro Workspace UX

  • Resizable sidebar for optimal layout
  • Drag-and-Drop file uploads
  • High-resolution PNG export for documentation and sharing

🛠 Tech Stack

  • Framework: Next.js 16
  • Graph Visualization: React Flow
  • Code Editor: Monaco Editor
  • Icons: Lucide Icons
  • Layout Algorithm: Dagre
  • Image Export: html-to-image
  • Styling: Tailwind CSS

🚀 Installation

  1. Clone the repository:
git clone <repository-url>
cd json-visualizer
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 in your browser.

📖 Usage Guide

🔍 Using the Search Palette

  • Press Cmd+K (Mac) or Ctrl+K (Windows/Linux)
  • Type any key, value, or object name
  • Instantly fly to the matching element in the graph

📐 Auto-Layout

  • The graph automatically positions nodes hierarchically using Dagre
  • For massive datasets, nodes are arranged in a clean, readable tree structure

⚡ Code Generation

  • Click the "Generate Types" button
  • Get instant TypeScript interfaces based on your JSON structure
  • Copy and use in your projects for type safety

📁 File Management

  • Drag and drop JSON files onto the canvas
  • Or use the file toolbar to browse and select files

🖼 Export

  • Use the export button to save high-res PNG images of your visualizations
  • Perfect for documentation, presentations, or sharing insights

📸 Visuals

Add screenshots and GIFs here to showcase the features

  • Main interface with two-way sync
  • Search palette in action
  • Deep inspector panel
  • Code generation demo
  • Large dataset visualization

🤝 Contributing

We welcome contributions! Please feel free to submit a Pull Request.

📄 License

This project is open source and available under the MIT License.


Built with ❤️ for developers who architect the future.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors