MCPcopy
hub / github.com/alexlenail/NN-SVG

github.com/alexlenail/NN-SVG @1.0 sqlite

repository ↗ · DeepWiki ↗ · release 1.0 ↗
113 symbols 211 edges 6 files 0 documented · 0%
README

NN-SVG

License: MIT status | Docs | Contributing

Illustrations of Neural Network architectures are often time-consuming to produce, and machine learning researchers all too often find themselves constructing these diagrams from scratch by hand.

NN-SVG is a tool for creating Neural Network (NN) architecture drawings parametrically rather than manually. It also provides the ability to export those drawings to Scalable Vector Graphics (SVG) files, suitable for inclusion in academic papers or web pages.

The tool provides the ability to generate figures of three kinds: classic Fully-Connected Neural Network (FCNN) figures, Convolutional Neural Network (CNN) figures of the sort introduced in the LeNet paper, and Deep Neural Network figures following the style introduced in the AlexNet paper. The former two are accomplished using the D3 javascript library and the latter with the javascript library Three.js. NN-SVG provides the ability to style the figure to the user's liking via many size, color, and layout parameters.

I hope this tool will save machine learning researchers time, and I hope this software might also serve as a pedagogical tool in some contexts.

License

MIT

Citation

... coming soon!

Core symbols most depended-on inside this repo

wh
called by 18
AlexNet.js
convert
called by 15
SVGRenderer.js
depthFn
called by 12
AlexNet.js
convFn
called by 10
AlexNet.js
widthFn
called by 7
AlexNet.js
getSvgColor
called by 6
SVGRenderer.js
indices_from_id
called by 4
FCNN.js
x
called by 4
FCNN.js

Shape

Function 113

Languages

TypeScript100%

Modules by API surface

OrbitControls.js29 symbols
Projector.js21 symbols
FCNN.js20 symbols
LeNet.js16 symbols
AlexNet.js16 symbols
SVGRenderer.js11 symbols

For agents

$ claude mcp add NN-SVG \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact