Open source alternatives to DGM.js
200 open source apps like DGM.js, closest match first.
Top picks
- S

SVG Drawing
LaunchSVG Drawing is a browser canvas for sketching freehand strokes and replaying them as an animation. You choose the stroke width and color, adjust how smooth the line is, and then play the drawing back with easing, looping and speed controls,
- F
Flowchart.js
Launchflowchart.js draws simple SVG flowcharts from a short text description of the diagram. You write each element with a name, a type and a label, then connect them with arrows, and the library draws the chart in the browser. The site's example
- M
Maker.js
LaunchMaker.js is a JavaScript library for creating and sharing modular 2D line drawings for CNC machines and laser cutters. It was started as a Microsoft Garage project. You build drawings from geometry and drafting constructs, using paths made
- S
Smart Draw
LaunchSmart Draw is an open-source web app that turns a plain-language description into an editable diagram. It offers two drawing engines. Draw.io suits structured diagrams such as technical documents, enterprise architecture and formal presenta
- D

draw.io
LaunchCreate professional diagrams online or offline with security-first approach. No registration needed. Works with Google Drive, SharePoint, Atlassian, and more.
- S
Svg2roughjs
Launchsvg2roughjs is a JavaScript library that converts an SVG image into a sketchy, hand-drawn looking version using Rough.js. You create an instance of its Svg2Roughjs class and give it an output container. Calling sketch() draws the current SV
More like DGM.js
About DGM.js
DGM.js
An infinite canvas with smart shapes
js is an infinite canvas library for building diagramming and drawing features into an application. It supports smart shapes that can be defined with scripts, constraints and extended properties, so you can make diagrams with complex notations. Shape constraints control behaviour such as alignment, visibility and sizing, and shape scripts are written in a small Lisp-like language to define how a shape is drawn or outlined. Shapes can be drawn in a hand-drawn style or a solid style, which is useful when you want a low-fidelity sketch rather than a polished diagram. The library uses roughjs for the hand-drawn look. Real-time collaboration is available through a Yjs plugin, which synchronises documents and shows multiple cursors and selections. Freehand drawing is powered by perfect-freehand, with control over the thinning and taper of strokes. Canvases can be exported as PNG or SVG, copied to the clipboard, and saved as JSON, which the site describes as simple to read and write. A document can have several pages with different sizes, such as infinite, 4:3 or 16:9.
- Price
- Free
- Made by
- dgmjs
- Category
- Design
- Website
- dgmjs.dev





