IlIllII / IlIllII/collecobrary

Node hovering on d3 digraph

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Vue
Stars
125
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Right now there is just a tooltip that appears on the nodes on hover. This happens after a slight delay, which leads to a suboptimal user experience.

It would be better if the name of a node appeared immediately on hover and was styled in such a way that it was easy to read.

This would entail modifying the d3 chart function within the DegreeMap.vue component.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the DegreeMap.vue component and locate its d3 chart function and node-hover tooltip behavior. Check how the delayed tooltip is currently triggered and styled; done means node names appear immediately on hover in a readable style.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.