Skip to content

Commit

Permalink
Merge pull request #25 from davide-f/update-version
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
oxinabox authored May 13, 2022
2 parents 6580041 + 9a7b77e commit f4ac3be
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LayeredLayouts"
uuid = "f4a74d36-062a-4d48-97cd-1356bad1de4e"
authors = ["Lyndon White <lyndon.white@invenialabs.co.uk> and contributors"]
version = "0.2.2"
version = "0.2.3"

[deps]
Cbc = "9961bab8-2fa3-5c5a-9d89-47fab24efd76"
Expand All @@ -17,7 +17,7 @@ Cbc = "0.7,0.8,0.9,1"
ECOS = "0.12.1,0.13,0.14,1"
Graphs = "1.4"
IterTools = "1.3"
JuMP = "0.21.3, 0.22, 0.23"
JuMP = "0.21.3, 0.22, 0.23, 1"
julia = "1"

[extras]
Expand Down
13 changes: 1 addition & 12 deletions src/zarate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,10 @@ In 2018 IEEE Pacific Visualization Symposium (PacificVis) (pp. 135-139). IEEE.
"""
Base.@kwdef struct Zarate <: AbstractLayout
time_limit::Dates.Period = Dates.Second(0)
ordering_solver::Any = ()->_default_ordering_solver()
ordering_solver::Any = optimizer_with_attributes(Cbc.Optimizer, "randomSeed"=>1, "randomCbcSeed"=>1)
arranging_solver::Any = ECOS.Optimizer
end

"""
_default_ordering_solver()
Default optimizer for ordering - `Cbc` with the random number seed `randomCbcSeed` set to `1`
"""
function _default_ordering_solver()
optimizer = Cbc.Optimizer()
MOI.set(optimizer, MOI.RawOptimizerAttribute("randomCbcSeed"), 1)
return optimizer
end

"""
solve_positions(::Zarate, graph; force_layer, force_order)
Expand Down
Binary file removed test/references/.DS_Store
Binary file not shown.
Binary file modified test/references/Zarate/direct/cross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/direct/loop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/direct/medium_pert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed test/references/Zarate/direct/tiny_depgraph.png
Binary file not shown.
Binary file modified test/references/Zarate/direct/tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/direct/two_lines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/direct/two_lines_force_order.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/direct/xcross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/paths/cross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/paths/loop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/paths/medium_pert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed test/references/Zarate/paths/tiny_depgraph.png
Binary file not shown.
Binary file modified test/references/Zarate/paths/tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/paths/two_lines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/paths/two_lines_force_order.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/Zarate/paths/xcross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/references/test_utils/quick_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

2 comments on commit f4ac3be

@oxinabox
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/60209

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.3 -m "<description of version>" f4ac3be2e0442ee959071177875d1db527561cd1
git push origin v0.2.3

Please sign in to comment.