Skip to content

Commit

Permalink
Improve force_order
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-f committed Oct 29, 2024
1 parent 53b2dd5 commit 1b6f2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ energy_colors = palette(:seaborn_colorblind)[[9, 10, 3, 5, 2, 8, 1, 4]]
@testset "force_order" begin
@test_reference "refs/force_order.png" sankey(
src, dst, weights;
force_order=[1=>5] # node 1 shall come before node 5
force_order=[1=>2, 1=>5, 6=>3, 3=>4] # node 1 shall come before node 5
)
end
end

0 comments on commit 1b6f2e7

Please sign in to comment.