JuliaGraphs / JuliaGraphs/GraphPlot.jl

change node size to fit labels

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

Nobody has claimed this yet.

Dominant language
Julia
Stars
213
Forks
62
PR merge metrics
No merged PRs in 30d

Description

It would be nice if the node size automatically stretched out to fit the label text. (Also, currently you can only change the node radius, but for this you would want to stretch the node elliptically in one direction.)

For example, consider the following labelled graph:
image
and compare to the output of GraphViz for similar labels:
image
(Note also that GraphViz has proper arrowheads.)

Contributor guide

No contributing guide indexed for this repository

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

Start by locating the node sizing and radius-handling entry points in GraphPlot.jl, then inspect how labels are measured and rendered. The work is done when labelled nodes automatically stretch to contain their text, support elliptical dimensions, and existing graph rendering remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.