Draw.io: Open Source Online Diagramming
github.com
github.com
It is an excellent, underrated piece of software. Less surprising when you consider the team behind it.
Cool project, but the headline is incorrect.
> The source code authored by us in this repo is licensed under the Apache v2, however, we do not claim to be an open source project.
> [...]
> Additional minified JavaScript files and Java libraries are used in this project. All of the licenses are deemed compatible with the Apache 2.0, nothing is GPL or AGPL, due dilgence is performed on all third-party code.
Here's an issue that was opened 5 days ago that probably triggered the README rephrasing:
https://github.com/jgraph/drawio/issues/3782
> The file for converting the mermaid code to mxgaph xml is available only in minified version. the unminified version "mermaid2drawio.js" is missing. Please include that.
Answer:
> We do not supply the source to that file.
With such phrasing, for now, I'll consider drawio proprietary with some parts in Apache 2 (even if it's actually the majority of the code).
It might be possible to have a fork with some optional features related to these non provided files removed, if by luck no critical feature is impacted. (or, even better, provide an alternative, open source implementation for these files, of course)
They way you can save a file as <image.drawio.svg> or <image.drawio.png> while simultaneously keeping it editable as well as readily renderable in any other app or browser ... feels like magic! Why don't we see this more often?
Is there a way to create / find custom shapes and frequently used templates in this tool?
I work on AWS and would like to be able to customize the UI a bit (in VSCode) to make it much easier to use frequently.
The tool also has a lot of potential to become even more user friendly and powerful though.
Anyone is working on a LLM interface it it yet? :)
I wonder if there's a forum somewhere to discuss how to use it (and when.) I am one of the many who gave up Stack* for all the reasons. For example, it can ingest and excrete Visio formats with varying degrees of success. I'd like to understand those limits for when I need to work with people who have Visio.
I came up during the WYSIWG/WYSIAYG wars, allying with the latter. But in many cases, it is easier to nudge something into alignment vs. rewriting the base code and "recompiling." That and 99.99% of people I interact with are used to dragging-and-dropping and I can't insist on an entirely different approach and tools.
I seriously tried to use this for documentation at my previous company, but the inability to create these basic custom components really limits this otherwise excellent tool.
Has anyone been able to do custom component libraries in drawio?
including it becoming diagrams.net and not being open source anymore?
Some previous discussion: https://news.ycombinator.com/item?id=21513337