A Chrome extension that provides an enhanced visualization of JSON files using Monaco Editor and React Flow. This extension transforms JSON structures into interactive visual flowcharts, making it easier to understand and analyze JSON data.
- 🎯 Interactive JSON visualization using React Flow
- 📝 Syntax-highlighted JSON viewing with Monaco Editor
- 🌳 Tree-like structure visualization
- 🎨 Dark mode support
- ⚡ Built with Vite and React for optimal performance
- React
- Vite
- Monaco Editor
- React Flow
- Chrome Extensions API
- TODO: chrome extension link
- Clone this repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Build the extension:
npm run build
- Load the
dist
directory as an unpacked extension in Chrome
We welcome contributions! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Make your changes
- Build the project to ensure it works:
npm run build
- Test your changes by loading the
dist
directory as an unpacked extension in Chrome - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Ensure the project builds successfully before submitting PRs
- Test the extension functionality in Chrome after building
- Follow the existing code style and formatting
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- Monaco Editor for powerful code editing capabilities
- React Flow for the flow visualization
- Vite for the blazing fast build tool
- support JSON
- generate xyflow graph
- option page for theme, font, editability settings
- status bar: cursor location, encoding, indentation
- select json content when click to corresponding graph node
- actions: save, copy, expand-all, collapse-all, raw content, pretty print, minify (download raw content instead of just response.json())
- auto layout once loaded, then zoom accordingly
- show left/right side hiding bottons when hover on the top
- show reactflow toolbar
- show size of the aggregated objects
- add JSON test case files
- expand/collapse button for all aggregated nodes
- synchronizing code&nodes selection and foldings
- [ ]