Skip to main content
Glama

add-edge

Create connections between diagram elements in Draw.io to establish relationships and define flow between components.

Instructions

This tool creates an edge, sometimes called also a relation, between two vertexes (cells).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_idYesSource ID of a cell. It is represented by `id` attribute.
target_idYesTarget ID of a cell. It is represented by `id` attribute.
textNoText content placed over the edge cell
styleNoSemi-colon separated list of Draw.io visual styles, in the form of `key=value`. Example: `edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;`edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lgazo/drawio-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server