Skip to content

Repository files navigation

xovis

Deploy to GitHub Pages Build and Package License Node.js pnpm

中文 | English

JSON computation graph visualization tool with dagre layout and multi-format export support.

Features

  • 📊 Visualize JSON computation graphs (see doc/json-spec.md for format)
  • 🎨 Customizable themes, languages, layout directions, fonts, and node sizes
  • 📤 Export to SVG, PNG, JPG, WebP, PDF, and more formats
  • 📱 Support for Web, desktop apps (Windows/macOS/Linux), and VSCode extension
  • 🌐 Chinese/English interface switching

Quick Start

Online Usage

Visit the online version to use directly without installation.

Note: If this is the first deployment, you need to enable Pages in GitHub repository settings:

  1. Go to https://github.com/lancerstadium/xovis/settings/pages
  2. Under "Source", select "GitHub Actions"
  3. Save the settings, then pushing to the main branch will automatically trigger deployment

Local Development

# Clone repository
git clone https://github.com/lancerstadium/xovis.git
cd xovis

# Install dependencies
pnpm install

# Start development server
pnpm dev

After opening in your browser, select a JSON file or load from the "Examples" dropdown; switch language, theme, and layout in "Settings".

Downloads

Platform Build Status Download Link Description
🌐 Web Deploy to GitHub Pages Online Access Use directly in browser, no installation required
🪟 Windows Build and Package Latest Release .exe installer
🍎 macOS Build and Package Latest Release .dmg disk image
🐧 Linux Build and Package Latest Release .AppImage executable
📦 VSCode Extension Build and Package Latest Release .vsix extension package

macOS "app is damaged" note: The app is unsigned (no Apple Developer ID). If you see "app is damaged", drag the app to Applications first, then run in Terminal: xattr -cr /Applications/xovis.app, or right-click the app → Open (first launch only).

Development

Build

# Build all packages
pnpm build

# Build specific platform
pnpm build:electron:win    # Windows
pnpm build:electron:mac    # macOS
pnpm build:electron:linux  # Linux
pnpm package:vscode        # VSCode extension

Project Structure

packages/
  core/   # JSON parsing and types
  web/    # React application
doc/
  json-spec.md   # JSON computation graph format specification

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

Copyright (C) 2024 lancerstadium

About

xoc visualizer

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages