JuliaGraphs / JuliaGraphs/Graphs.jl

Random generation should be a utility function

Open
#167 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
538
Forks
128
Avg merge
10h 25m
Merged PRs (30d)
2

Description

https://github.com/JuliaGraphs/Graphs.jl/blob/2d424640acdb8715218cd763f69ffb322ba5c109/src/SimpleGraphs/generators/randgraphs.jl#L9-L12

My first instinct is that this does not belong in a constructor but in a dedicated rand... function.

Feel free to close, just giving the feedback. Came up in https://github.com/JuliaGraphs/MultilayerGraphs.jl/issues/22

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

Read src/SimpleGraphs/generators/randgraphs.jl at lines 9-12 and the linked MultilayerGraphs.jl issue to understand the constructor API concern. A maintainer decision is needed before implementation; done would mean an agreed, tested API for random graph generation or closing the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.