---
title: "updates the layout of edges on dataset level"
method: PUT
path: "/api/workspaces/{workspaceName}/layout/{diagramUUID}/edges"
tags: ["diagram", "layout", "edge"]
---

# updates the layout of edges on dataset level

`PUT /api/workspaces/{workspaceName}/layout/{diagramUUID}/edges`

## Request

- The document declares no server URL.
- Auth: none declared

Replaces the points of the edges in the request body with the full, ordered list of points sent for each.

## Path parameters

- `workspaceName` string, required
- `diagramUUID` string, required

## Headers

- `origin` string

## Request body

- EdgeLayoutDTO[]
  - `kind` 'inheritance' | 'association'
  - `points` EdgePointDTO[]
    - `id` string
    - `side` 'source' | 'target'
    - `x` number, double
    - `y` number, double
  - `sourceClass` string, uuid
  - `sourceObject` string, uuid
  - `targetClass` string, uuid
  - `targetObject` string, uuid

## Response `200`

OK

## Changes

- **2026-11-23** `91d142ef001a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/workspaces/:workspaceName/layout/:diagramUUID/edges/put.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
