Skip to content

Arrow direction issue #146

@albingroen

Description

@albingroen

Issue

When you have two items where the source anchor is on the same x point as the target anchor, the arrow get pointed in the wrong direction.

CleanShot 2021-05-20 at 13 44 31

<ArcherElement
  id={String(event.id)}
  relations={event.connections?.map(targetId => ({
    targetId,
    sourceAnchor: 'right',
    targetAnchor: 'left',
  }))}
  key={event.id}
>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions