NN-SVG generates publication-style diagrams of neural network architectures in the browser. Users tune layout and colors, then export scalable vector graphics for papers or web pages.
Overview
NN-SVG addresses the tedious hand-drawing of network schematics by generating figures parametrically. Researchers choose a style—fully connected networks, LeNet-style convolutional layouts, or AlexNet-style deep networks—and adjust visual parameters instead of editing pixels manually.
Fully connected and LeNet-style figures use the D3 JavaScript library; AlexNet-style diagrams use Three.js. The interface exposes edge width, opacity, colors, node size, layer spacing, bias units, and related layout controls.
Finished drawings download as SVG files suitable for academic manuscripts or online articles. The tool is positioned as both a time saver for ML authors and a teaching aid for explaining common architectures.
Key features
- FCNN, LeNet, and AlexNet figure styles
- SVG export for papers and web
- D3 and Three.js rendering backends
- Adjustable colors and edge styling
- Random weight visualization options
- Horizontal and vertical layouts
Use cases
- Architecture figures for ML papers
- Slides explaining CNN layouts
- Quick FCNN topology sketches