Skip to content

bug: Parent nodes bad edges routing #179

@handreyrc

Description

@handreyrc

Describe the Bug

Incoming and outgoing edges connected to parent nodes are not being routed properly and do not present a consitent and straight path.

The issue can be observed in the scenarios below:

  • Waypoints coordinates deviation when converted to reactflow SVG path.
Image
  • Entangled paths.
Image
  • Tasks defined within a parent node cannot be connected to tasks out of its own level. It works at root level but it is not being handled in nested parents scenarios.
Image
  • Edges connecting to tasks in upper layers are being routed behind the source task.
Image

Steps to reproduce

  1. Start storybook
  2. In the "Use Cases" session select one of the sample workflows below:
    • Managing EV Charging Stations
    • Managing Github Issues
    • Multi Agent AI Content Generation

Expected Behavior

  • Edges connected to parent nodes shall be straight and orthogonal.
  • Edges shall never be routed behind nodes.
  • Edges source an target nodes shall be defined in the same level.
  • Edge paths shall be properly merged and do not produce entangled routes.
  • Edges shall be as straight as possible for better visualization.

Editor Version

No response

Platform

Web / Browser

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status
In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions