anvaka / anvaka/VivaGraphJS

Label adjustment

Open
#65 4 comments 0 reactions 0 assignees View on GitHub
Suggestion
Dominant language
JavaScript
Stars
3.9k
Forks
418
PR merge metrics
No merged PRs in 30d

Description

Relatively complex graphs have the issue of labels overlapping and making certain areas unreadable.

![google chromescreensnapz006](https://f.cloud.github.com/assets/6969/1744119/7a87a0c0-6417-11e3-80fd-9e3c66314260.png)

A labelAdjust() function would be useful, like in Gephi. I guess the way to implement it is get the SVG text x, y, width, height and for each node check if its label overlaps, if true, adjust the node's position.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the SVG label rendering and node-position entry points described in the issue. Review how label x, y, width, and height can be obtained, then define how overlapping labels should be detected and how completion will be verified on complex graphs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.