Skip to content

Conversation

@mtfishman
Copy link
Member

@mtfishman mtfishman commented Oct 10, 2024

Closes #6.

The issue was that the vertex positions of the images are being generated using NetworkLayout.jl, which starts with random vertex positions and then performs an optimization. However, the Julia random number generator can change between Julia versions, which it did between Julia 1.10 to 1.11, so the positions generated by NetworkLayout.jl are different between those versions. The strategy I took here is to have different sets of reference images for different Julia versions, which isn't ideal since then they have to be regenerated when a new Julia version is released (maybe that can be automated but that sounds a bit annoying to set up). An alternative would be to use StableRNGs.jl to generate random starting positions that won't depend on the Julia version, however that will require this PR in NetworkLayout.jl: JuliaGraphs/NetworkLayout.jl#65.

See also MakieOrg/GraphMakie.jl#190.

@mtfishman mtfishman merged commit 445e431 into main Oct 10, 2024
7 checks passed
@mtfishman mtfishman deleted the Julia_1.11 branch October 10, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix test failures in Julia 1.11

2 participants