Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@arach/arc

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arach/arc

Visual diagram editor for creating architecture diagrams

Source
npmnpm
Version
0.2.4
Version published
Weekly downloads
81
62%
Maintainers
1
Weekly downloads
 
Created
Source

Arc

A visual diagram editor for creating architecture diagrams. Design system architectures with a drag-and-drop interface, then export to clean TypeScript for use in documentation sites.

Features

  • Visual Editor - Drag-and-drop nodes, connect with arrows
  • Multiple Node Sizes - Large, medium, small
  • Color Themes - Violet, emerald, blue, amber, sky, zinc, rose, orange
  • Connector Styles - Solid/dashed lines, labels, curved paths
  • Export Options - TypeScript, JSON, SVG, PNG, shareable links
  • Interactive Canvas - Infinite pan/zoom, grid snapping
  • Groups & Images - Visual grouping, background images
  • Templates - Quick-start layouts

Getting Started

pnpm install
pnpm dev

Export Format

Arc exports diagrams as clean TypeScript compatible with the ArcDiagram player component:

import type { ArcDiagramData } from './ArcDiagram'

const diagram: ArcDiagramData = {
  layout: { width: 800, height: 400 },
  nodes: {
    app: { x: 50, y: 50, size: 'l' },
    api: { x: 300, y: 50, size: 'm' },
  },
  nodeData: {
    app: { icon: 'Monitor', name: 'App', color: 'violet' },
    api: { icon: 'Server', name: 'API', color: 'emerald' },
  },
  connectors: [
    { from: 'app', to: 'api', fromAnchor: 'right', toAnchor: 'left', style: 'http' }
  ],
  connectorStyles: {
    http: { color: 'amber', strokeWidth: 2, label: 'HTTP' }
  },
}

export default diagram

Tech Stack

  • React 19
  • Vite 7
  • TailwindCSS 4
  • Lucide React (icons)

License

MIT

Keywords

diagram

FAQs

Package last updated on 21 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts