JuliaGraphs / JuliaGraphs/GraphPlot.jl
Different size of the image - difficult to read any text or see dashed arrows
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 213
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Currently, I am drawing a graph with potentially a large number of points ordered as in a chessboard.
An example of coordinates of the nodes could be:
a) (0, 0)
b) (0, 1)
c) (1, 1)
c) (0, 2) etc
Below I suggest three possible developments that I believe would be interesting for the community.
-
As the number of points increase, size the plot is limited by a square plot with sizes 2.4x2.4, the distance between the nodes becomes soon so small that it is impossible to distinguish any text.
A possible improvement would be to possibly specify a custom size of the map, not necessarily squared. -
Moreover, let's suppose that there are 10 nodes in the x axis (all having y-coordinate 0 and increasing x-coordinates from 0 to 9), and let's suppose that there are 5 nodes in the y axis (all having x-coordinate 0 and increasing y-coordinates from 0 to 4).
Given the current implementation, the spacing between the nodes having different x coordinate would be half the distance of nodes having different y-coordinate.
In graphs representing geographical coordinates that would be quite ackward; it would be nice to specify options regarding the spacing between x- and y-axis, like equal (so that the spacing would be the same) or adaptive (in which all tha space would be used as in the current implementation)
What do you think?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files or tests are named. Start by locating the graph plotting implementation and its current plot sizing and axis-spacing behavior, then clarify the API needed for custom dimensions and x/y spacing. Done means the requested sizing and spacing behavior has a defined, validated implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100