From 3db275b1990fdd551eb3fff5bd7236d79cb93c60 Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Thu, 11 Jun 2026 00:48:54 +0800 Subject: [PATCH] docs: Add GNS3 SVG rendering quirks to drawing_create description --- gns3server/api/routes/mcp/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gns3server/api/routes/mcp/__init__.py b/gns3server/api/routes/mcp/__init__.py index 447aac02e..91c16288a 100644 --- a/gns3server/api/routes/mcp/__init__.py +++ b/gns3server/api/routes/mcp/__init__.py @@ -925,9 +925,15 @@ async def drawing_create( ) -> list[dict[str, Any]]: """Create a new drawing (label, shape, or image) on a project canvas. + GNS3 SVG rendering notes: + - MUST have a solid fill color (e.g. fill=\"#FF0000\") to render. + fill=\"none\" or fill=\"transparent\" will be invisible in the GUI. + - works correctly with or without fill. + - and work normally. + SVG examples: Text label: R1 - Rectangle: + Rectangle: Ellipse: Line: Dashed line: