diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3f8d2bb..49aa8c8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,9 +16,10 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - 'min' + - 'lts' - '1' - # - 'nightly' + - 'pre' os: - ubuntu-latest arch: diff --git a/Project.toml b/Project.toml index d88824d..96e82a0 100644 --- a/Project.toml +++ b/Project.toml @@ -5,8 +5,8 @@ version = "0.2.4" [deps] ArnoldiMethod = "ec485272-7323-5ecc-a04f-4719b315124d" DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab" +Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6" LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" -LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" ProgressLogging = "33c8b6b6-d38a-422a-b730-caa89a2f386c" @@ -17,9 +17,9 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] ArnoldiMethod = "0.0.4, 0.4" DelimitedFiles = "1" +Graphs = "1" LaTeXStrings = "1.1" -LightGraphs = "1.3" -Plots = "= 1.4" +Plots = "1.4" ProgressLogging = "0.1" SimpleWeightedGraphs = "1.1" -julia = "1.3" +julia = "1.9" diff --git a/src/ConScape.jl b/src/ConScape.jl index 2228a5d..6fb3ea9 100644 --- a/src/ConScape.jl +++ b/src/ConScape.jl @@ -1,7 +1,7 @@ module ConScape using SparseArrays, LinearAlgebra - using LightGraphs, Plots, SimpleWeightedGraphs, ProgressLogging, ArnoldiMethod + using Graphs, Plots, SimpleWeightedGraphs, ProgressLogging, ArnoldiMethod abstract type ConnectivityFunction <: Function end abstract type DistanceFunction <: ConnectivityFunction end diff --git a/src/grid.jl b/src/grid.jl index a2490d7..e79e676 100644 --- a/src/grid.jl +++ b/src/grid.jl @@ -196,7 +196,7 @@ julia> ConScape.is_strongly_connected(grid) false ``` """ -LightGraphs.is_strongly_connected(g::Grid) = is_strongly_connected(SimpleWeightedDiGraph(g.affinities)) +Graphs.is_strongly_connected(g::Grid) = is_strongly_connected(SimpleWeightedDiGraph(g.affinities)) """ largest_subgraph(g::Grid)::Grid