Closed hexaeder closed 3 years ago
Hi, I am not really involved with this package (more so with GraphPlot.jl
which has some duplicate code with this one, but no depdency), but I just wanted to mention, that you maybe should crosscheck with https://github.com/JuliaPlots/GraphRecipes.jl, as that package depends on NetworkLayout, before you introduce a breaking change. For some weird reason that does not show up as a dependant on JuliaHub: https://juliahub.com/ui/Packages/NetworkLayout/XKrIU/0.3.0?t=2.
Yeah, should be easy to update the one usage + we'll of course release a breaking version, so that GraphRecipes can update when the maintainers have time to do so...
I wanted to extend the Spring layout to handle fixed nodes and rng seeds. During this I got confused concerning the interplay between
layout
, the mutating (?)layout!
and the occasionalLayout
struct with its constructor(s). For example, the default values forinitialpositions
are defined at multiple points in the code. Because of this, it is not that easy to extend the current functionality without either breaking the current interface or adding even more redundancy.I was wondering, whether you'd be up for a breaking change to introduce a new common interface between those algorithms. I was thinking of something like
Such common interface would be quite nice for graph plotting because different layout algorithms could be easily passed around and
would all just act like functions
f: adj_matrix -> list of points
.