Skip to content

🔮 An interactive system architecture diagram builder with React Flow.

License

Notifications You must be signed in to change notification settings

DevBetz/ArchitectureDiagramBuilder

 
 

Repository files navigation

React Flow Visualizer

License: MIT TypeScript React Vite Live Demo

A powerful and flexible React application for creating interactive system architecture diagrams and workflow visualizations using React Flow. Built with React, TypeScript, and Vite.

alt text

Quick Start

Installation

# Clone the repository
git clone https://github.com/cherninlab/react-flow-visualizer.git

# Navigate to project directory
cd react-flow-visualizer

# Install dependencies
npm install

# Start development server
npm run dev

Documentation

API Reference

Node Types

interface CustomSquareNodeData {
  label: string;
  iconName: string;
  iconType: 'lucide' | 'radix' | 'local';
  sourcePosition?: Position;
  targetPosition?: Position;
}

Advanced Configuration

Custom Theme Creation

  1. Create a new CSS file in src/themes/:
.react-flow[data-theme='your-theme'] {
  --icon-size: 48px;
  --margin: 16px;
  /* Add more variables */
}
  1. Register in ThemeSelector.tsx:
const themes = [
  { value: 'default', label: 'Default' },
  { value: 'your-theme', label: 'Your Theme' },
];

Troubleshooting

Common Issues

  1. Node Icons Not Loading

    # Check if icons are in the correct directory
    public/icons/

Contributing

We welcome contributions!

License

This project is licensed under the MIT License

Acknowledgments

About

🔮 An interactive system architecture diagram builder with React Flow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 66.4%
  • CSS 30.1%
  • JavaScript 2.4%
  • HTML 1.1%