Skip to content

Bug: Edge highlights persist after deselection #306

@sakshammjn

Description

@sakshammjn

Bug Details

Description

Edge highlights remain visible after clearing selection, so the graph shows active edges even when nothing is selected.

Steps to Reproduce

  1. Click any node in the graph to highlight its connected edges.
  2. Click empty space in the canvas (or clear the search input).
  3. Observe that the previously highlighted edges remain active.

Demo Video

Screen.Recording.2026-04-12.at.4.21.02.PM.mov

Expected Behavior

When selection is cleared, all edge highlights should disappear.

Environment

  • OS: macOS
  • Browser: Chrome
  • Version: 0.7.0

Additional Context

This happens because only the node selection is cleared, while the edges’ selected state is not reset.

Good First Issue

  • I believe this issue is a good first issue for new contributors.

Contribution

  • I am willing to fix this bug.

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