JuliaGraphs / JuliaGraphs/GraphPlot.jl
node coloring failed with over 197 nodes
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 213
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
using LightGraphs, GraphPlot;
using Colors;
n = 198
graph = barabasi_albert(n, 3, 3)
mapping = ones(n)
mapping[1:100] .= 2
nodecolor = [colorant"green", colorant"red"]
nodefillc = nodecolor[convert(Array{Int}, mapping)]
gplot(graph, nodefillc=nodefillc)
--> all nodes are black
if n<197 --> nodes are green and red
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
Run the issue's Julia snippet through the gplot entry point with n=198, then compare it with the n<197 case to isolate the threshold behavior. Trace the rendering path used by GraphPlot and verify that the requested green and red node colors are preserved for all 198 nodes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100