The documentation mentions a parameter seed for spring_layout which does not exist. In addition, this is also the method that is referenced in the documentation to change spring_layout default parameters.
layout=(args...) -> spring_layout(args...; C=2, seed=1) #this fails as the method does not accept seed
gplot(g, layout=layout)
There is a method that accepts a graph and a seed, but this one calls spring_layout directly and does not return a function that gplot expects. I tried to do this but it fails
The documentation mentions a parameter
seed
forspring_layout
which does not exist. In addition, this is also the method that is referenced in the documentation to changespring_layout
default parameters.There is a method that accepts a graph and a seed, but this one calls
spring_layout
directly and does not return a function that gplot expects. I tried to do this but it failsGiving error
It is unclear then how to make spring layout deterministic