MCPcopy
hub / github.com/jgraph/drawio

github.com/jgraph/drawio @v30.2.7 sqlite

repository ↗ · DeepWiki ↗ · release v30.2.7 ↗
19,111 symbols 75,548 edges 467 files 1,015 documented · 5%
README

draw.io

About

draw.io is a configurable diagramming and whiteboarding application, jointly owned and developed by draw.io Ltd (previously named JGraph) and draw.io AG. We also run a production deployment at https://app.diagrams.net.

License

The source code in this repository is licensed under the Apache License 2.0.

The icon sets, stencil libraries, and diagram templates are provided under the following terms:

The icon sets and stencil libraries included in this software, and any derivatives thereof (including conversions to other formats, traced reproductions, substantially similar visual representations, or AI-generated images created using these icons as reference or training input), may not be used as software assets in, distributed for use with, or incorporated into Atlassian products or products distributed through the Atlassian marketplace or plugin ecosystem, without explicit written permission.

This restriction does not apply to end-user diagram output (such as exported images or documents) created using this software.

Some icons are originally defined by third-party copyright holders; we have verified that all original licenses permit use in this project. Additional third-party JavaScript libraries are included, all with licenses compatible with Apache 2.0 (no GPL or AGPL).

We make no copyright claim on diagrams you create with this software.

Contributions

We do not accept pull requests. The project is developed entirely by the core team.

Scope

draw.io is a diagramming and whiteboarding application. It is not an SVG editor. SVG export is intended for embedding in web pages, not for editing in other tools.

Note that draw.io does not support real-time collaborative editing in this version, currently.

For issues or questions about the editor in any draw.io product, the issue tracker and discussions here are a good starting point.

Running

Options for running draw.io:

Packaged .war files are available on the releases page.

Supported Browsers

Chrome 123+, Firefox 120+, Safari 17.5+, Opera 109+, Edge 123+, WebView Android 137+, Safari iOS 18.5+.

Trademark

draw.io is a registered EU trademark (#018062448).

Do not use the draw.io name or logo in ways that suggest affiliation with, endorsement by, or sponsorship by draw.io. Do not use draw.io logos for your own business, product, project, domain, or social media presence. Do not modify the draw.io logos. Use of draw.io trademarks requires prior written permission.

Extension points exported contracts — how you extend this code

ServletComm (Interface)
(no doc) [5 implementers]
src/main/java/com/mxgraph/online/ServletComm.java
AbsComm (Interface)
(no doc) [2 implementers]
src/main/java/com/mxgraph/online/AbsComm.java

Core symbols most depended-on inside this repo

appendChild
called by 10281
src/main/webapp/math4/es5/core.js
setAttribute
called by 9552
src/main/webapp/math4/es5/core.js
insert
called by 6905
src/main/webapp/math4/es5/core.js
getAttribute
called by 3335
src/main/webapp/math4/es5/core.js
fill
called by 2813
src/main/webapp/math4/es5/output/svg.js
push
called by 2674
src/main/webapp/math4/es5/core.js
replace
called by 2035
src/main/webapp/math4/es5/core.js
text
called by 1699
src/main/webapp/math4/es5/core.js

Shape

Function 10,044
Method 8,401
Class 664
Interface 2

Languages

TypeScript99%
Java1%

Modules by API surface

src/main/webapp/js/integrate.min.js4,009 symbols
src/main/webapp/js/extensions.min.js2,973 symbols
src/main/webapp/js/elk/drawio-elk.min.js2,390 symbols
src/main/webapp/js/viewer-static.min.js1,101 symbols
src/main/webapp/math4/es5/core.js883 symbols
src/main/webapp/js/shapes-14-6-5.min.js680 symbols
src/main/webapp/math4/es5/input/tex.js652 symbols
src/main/webapp/js/mermaid/drawio-mermaid.min.js614 symbols
src/main/webapp/math4/es5/output/chtml.js545 symbols
src/main/webapp/math4/es5/output/svg.js541 symbols
src/main/webapp/js/app.min.js507 symbols
src/main/webapp/js/viewer.min.js422 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

bidi-js1.0.3 · 1×
crypto-js3.1.2 · 1×
dompurify3.4.11 · 1×
image-size2.0.2 · 1×
jquery3.6.0 · 1×
jsZip3.10.1 · 1×
mathjax4.1.2 · 1×
node-fetch3.2.10 · 1×
pako2.1.0 · 1×
perfect-freehand1.2.3 · 1×
roughjs4.6.6 · 1×
sharp0.34.0 · 1×

For agents

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

⬇ download graph artifact