Skip to content

Conversation

@mwarning
Copy link
Member

@mwarning mwarning commented May 5, 2025

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 #163.

Description of Changes

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).

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.
@nemesifier
Copy link
Member

@mwarning is this directed at #163?

@mwarning
Copy link
Member Author

mwarning commented May 9, 2025

@nemesifier yes, it is directed towards that ticket.

@cestercian cestercian changed the base branch from master to 163-gsoc22-example-with-nodelink-highlighting August 14, 2025 15:22
@nemesifier nemesifier changed the title [draft] Add node/link selection feature [feature] Added node/link highlighting Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants