docs/en/FAQ.md
Problem: Web version redirects to convert.diagrams.net/node/export when exporting PDF, then nothing happens
Cause: Embedded Draw.io doesn't support direct PDF export, it relies on external conversion service which doesn't work in iframe
Solution: Export as image (PNG) first, then print to PDF
Related Issues: #539, #125
Problem: Intranet environment shows "Cannot find server IP address for embed.diagrams.net"
Key Point: NEXT_PUBLIC_* environment variables are build-time variables, they get bundled into JS code. Runtime settings don't work!
Solution: Must pass via args at build time:
# docker-compose.yml
services:
drawio:
image: jgraph/drawio:latest
ports: ["8080:8080"]
next-ai-draw-io:
build:
context: .
args:
- NEXT_PUBLIC_DRAWIO_BASE_URL=http://your-server-ip:8080/
ports: ["3000:3000"]
env_file: .env
Intranet Users: Modify Dockerfile and build image on external network, then transfer to intranet
Related Issues: #295, #317
Problem: Locally deployed models (e.g., Qwen, LiteLLM) only output thinking process, don't generate diagrams
Possible Causes:
Solution: Enable tool calling, e.g., vLLM:
python -m vllm.entrypoints.openai.api_server \
--model Qwen/Qwen3-32B \
--enable-auto-tool-choice \
--tool-call-parser hermes
Related Issues: #269, #75
Problem: After uploading an image, the system shows "No image provided" error
Possible Causes:
Solution:
vision or vl in name support imagesRelated Issues: #324, #421, #469