mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-12 04:29:51 +08:00
docs(mcp-server): mermaid is in the bundled draw.io, which has no image proxy
- Mermaid's converter is in js/extensions.min.js, which the editor loads at startup, so the README no longer lists it as left out; the org chart layout (js/orgchart.min.js) is the example of a feature that is. - Note that the bundled copy, like the web app's, has no /drawio/proxy: images from other websites, including those in some templates, are left out of exports and thumbnails. The guard's comment names this as a known limitation it does not cover.
This commit is contained in:
@@ -186,8 +186,13 @@ const MATH_DOC = doc(
|
||||
|
||||
// Dialogs and toggles, by draw.io action name (Actions.js); each is closed
|
||||
// again right after it opened. Insert > Template and Insert > Advanced >
|
||||
// PlantUML, which load files when used, are driven below. Left out on
|
||||
// purpose, to keep the package small: Mermaid (it loads its own code).
|
||||
// PlantUML, which load files when used, are driven below. Mermaid needs no
|
||||
// extra files: its converter is in js/extensions.min.js, which the editor
|
||||
// loads at startup. Left out on purpose, to keep the package small: the org
|
||||
// chart layout (it loads js/orgchart.min.js). Not covered either: images
|
||||
// from other websites in some templates (Org Chart avatars, Arista icons)
|
||||
// and the /drawio/proxy requests draw.io makes for them when exporting;
|
||||
// the copy has no proxy, a known limitation (see the README).
|
||||
const ACTIONS = [
|
||||
"editData",
|
||||
"editDiagram",
|
||||
|
||||
Reference in New Issue
Block a user