Graphs.jl icon indicating copy to clipboard operation
Graphs.jl copied to clipboard

Proposal: Add new random social-network generator

Open Syuizen opened this issue 2 months ago • 1 comments

Hi JuliaGraphs team,

I hope you're doing well.

I'd like to contribute a new random network generator that I developed as part of my research. It’s designed to mimic certain social-network properties, and I think it could be a useful addition to the ecosystem.

I already have a working implementation and would be happy to prepare a PR.

Before I do that, I’d like to confirm:

  1. Whether Graphs.jl welcomes adding additional random graph models,
  2. If so, where the implementation should live (e.g., Generators folder), and
  3. Any naming / API guidelines I should follow.

I’d appreciate your guidance!

Thanks, Yiran

Syuizen avatar Nov 28 '25 11:11 Syuizen

Hi, @Syuizen! Hosting something like this in the Graphs.jl ecosystem (and github org) makes a lot of sense. I am not sure whether it should be in JuliaGraphs/Graphs.jl or JuliaGraphs/<ANewSmallPackage>.jl. There has been a push over the last few years to make things more modular (partially to help with precompilation, partially just because it is good to be more thoughtful about how things are organized).

I think the most straightforward option would be to, either way, first make a package specifically dedicated to your algorithm, and then update the Graphs.jl documentation to more clearly point out its existing random generators (together with any random graphs that are available from extra dependencies like the aforementioned new package).

Krastanov avatar Nov 28 '25 13:11 Krastanov