Skip to content

Connectors without start and end items (free standing lines) #299

@MTRNord

Description

@MTRNord

Hi.

I am wondering how I would get the size of a connector without start and end items. This happens if you draw a line on a frame/board.

grafik

In the api it looks like this:

{
  "shape": "straight",
  "boardId": "redacted",
  "id": "redacted",
  "createdAt": "2025-01-15T15:12:06.000Z",
  "createdBy": { "id": "redacted", "type": "user"},
  "isSupported": false,
  "links": {
    "self": "https://api.miro.com/v2/boards/uXjVLvatKbA%3D/connectors/redacted"
  },
  "modifiedAt": "2025-01-15T15:12:06.000Z",
  "modifiedBy": { "id": "redacted", "type": "user" },
  "style":  {
    "endStrokeCap": "none",
    "startStrokeCap": "none",
    "strokeColor": "#333333",
    "strokeStyle": "normal",
    "strokeWidth": "2.0"
  },
  "type": "connector"
}

Meaning there is no position info available. Is this an api bug? If so where do I file this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions