Skip to content

[draft] Add node/link selection feature #371

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mwarning
Copy link

@mwarning mwarning commented May 5, 2025

Select a node or link while holding the CTRL key.
This code works but needs proper integration and better highlight colors for the map view.
It is meant to serve as an inspiration on how to implement this feature.

A bug was also fixed: The on 'click' event handler may only be installed once, otherwise it will called for every time the renderer is initialized (when switching between graph and map).

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Closes #.

Please open a new issue if there isn't an existing issue yet.

Description of Changes

Please describe these changes.

Screenshot

out.webm

@nemesifier nemesifier changed the title [draft] add selection feature [draft] Add selection feature May 5, 2025
@mwarning mwarning changed the title [draft] Add selection feature [draft] Add node/link selection feature May 5, 2025
Select a node or link while holding the CTRL key.
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

Successfully merging this pull request may close these issues.

1 participant