Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWF-Editor: Selection manager #1658

Open
Tracked by #1127
handreyrc opened this issue Dec 2, 2024 · 0 comments
Open
Tracked by #1127

SWF-Editor: Selection manager #1658

handreyrc opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects

Comments

@handreyrc
Copy link

handreyrc commented Dec 2, 2024

Summary

The goal of this task is to implement a selection manager for nodes and edges, provide means to programatically select nodes / edges and recover selected items, also handle selection in between worflow reloads.

Description

  • Enable selection and deselection capabilities of nodes and edges
  • Keep track of the selected nodes (ids) and edges (ids) in between workflow reloads
  • Restore selection after worflow reloads
  • Clear selection cache if a new workflow is loaded
  • Implement API to select nodes and edges programatically by name and Id
  • implement API to get selected nodes and edges Ids and names

Testing

Run the component and load a valid worlflow.
Check if it is possible to select a node or edge by clicking on it.
Reload the same workflow and check if if the selection was restored.
Open then console and use the API to get the selected nodes Ids and names, and also the selected edges ids from the selection manager.
Select a node and edge by using the API for id and name.

@handreyrc handreyrc added area:tools Issues affecting Apache KIE tooling projects area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow labels Dec 2, 2024
@handreyrc handreyrc self-assigned this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects
Projects
None yet
Development

No branches or pull requests

1 participant