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

RED.view.select doesn't handle links #4551

Open
lgrkvst opened this issue Jan 30, 2024 · 1 comment
Open

RED.view.select doesn't handle links #4551

lgrkvst opened this issue Jan 30, 2024 · 1 comment

Comments

@lgrkvst
Copy link

lgrkvst commented Jan 30, 2024

The editor API's RED.view.select() selects a node.id or an array of node objects whose interconnecting links are selected implicitly.

Accordingly, RED.view.selection() returns the currently selected nodes and links, however there is no way to explicitly select one or multiple links programatically.

A use-case would be to highlight a specific link to the user.

@knolleary
Copy link
Member

(this has been discussed in slack)

lgrkvst added a commit to lgrkvst/node-red that referenced this issue Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants