Skip to content

feat: Make workflow read only by disabling drag-and-drop and edge handles #163

Description

@handreyrc

Description

Make the workflow read only if the readOnly prop parameter is true.

Motivation

When in read only mode it should not be possible to drag nodes and edges around and also visualize and interact with edge handles.

Proposed Implementation

  • Disable react flow drag handlers preventing nodes from being dragged in read-only mode.
  • Hide edge handles in read only mode.

Definition of Done

  • Implementation: It should not be possible to move nodes arround, visualize and interact with edge handles in read only mode.
  • Unit Tests: Comprehensive unit tests are included and passing.
  • Integration Tests: Verified within the monorepo and target environments (Web/VS Code).
  • Documentation: Updated README.md, ADRs, or official docs.
  • Performance: No significant regression in editor responsiveness.
  • Accessibility: UI changes comply with accessibility standards.

Activity

  1. self-assigned this
    on Jun 1, 2026
  2. changed the title [-]feat: Make diagram readonly by disabling drag-and-drop and edge handles[/-] [+]feat: Make worflow read only by disabling drag-and-drop and edge handles[/+] on Jun 1, 2026
  3. changed the title [-]feat: Make worflow read only by disabling drag-and-drop and edge handles[/-] [+]feat: Make workflow read only by disabling drag-and-drop and edge handles[/+] on Jun 1, 2026
  4. moved this from Backlog to Next in Editor Project Trackeron Jun 1, 2026
  5. moved this from In Progress to In review in Editor Project Trackeron Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions