Skip to content

Intersection Problem with Edges in Containers #1542

@tortmayr

Description

@tortmayr

Discussed in #1539

Originally posted by rsoika July 4, 2025
I found a very funny behavior with the routing and intersections. As far as I understand this is a feature from sprotty and it is very cool. If two edges are crossing each other, a small gap is created at the point of the intersection.

Now I have a situation where I have two containers with elements and edges. The positions of the elements within the container are relative to the container. As a result, the edge in the second container is now showing this small gaps, even if there is no point of the intersection.

Peek 2025-07-04 12-04

I think the reason for this behavior is that the edge in the upper container has the same relative coordinates as the elements in the container below and the routing algorithm thinks it is necessary to compute the Intersection point. But this is only in the relative coordinates a problem and not in the general diagram because both containers have different absolute coordinates.
I hope this is explanation is understandable.

Do you know about this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions