Diagrams are rendered with Mermaid, the open-source diagramming library (npm package).
Mermaid is distributed under the MIT License. We use it as a bundled dependency to render diagrams in the browser; we do not modify its license terms. MIT compliance is met by shipping the library’s copyright and permission notices with our application build (see the package and its LICENSE in node_modules/mermaid). Your diagram text and prompts remain yours; using Mermaid to draw them does not transfer ownership of your content to the Mermaid project.