diff --git a/Project.toml b/Project.toml index fbd005e..73fbd44 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "NestedGraphs" uuid = "03c36417-ddab-428a-818d-5359aee292ef" authors = ["fchrstou and contributors"] -version = "0.2.1" +version = "0.2.2" [deps] AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" diff --git a/ext/NestedGraphsAttributeGraphsExt.jl b/ext/NestedGraphsAttributeGraphsExt.jl index 39a112e..45bfb53 100644 --- a/ext/NestedGraphsAttributeGraphsExt.jl +++ b/ext/NestedGraphsAttributeGraphsExt.jl @@ -102,10 +102,10 @@ end # multilayer.jl -function getsquashedgraph(ng::NestedGraph{T,R,N}, sqvertices::Vector{Vector{Q}}) where {T,R<:AbstractAttributeGraph,N,Q<:Integer} +function NestedGraphs.getsquashedgraph(ng::NestedGraph{T,R,N}, sqvertices::Vector{Vector{Q}}) where {T,R<:AbstractAttributeGraph,N,Q<:Integer} # squashedgraph = ng.flatgr |> deepcopy |> adjacency_matrix |> SimpleGraph - squashedgraph = getsimplegraphcopy(ng) - _rec_merge_vertices!(SimpleGraph(squashedgraph), sqvertices) + squashedgraph = NestedGraphs.getsimplegraphcopy(ng) + NestedGraphs._rec_merge_vertices!(SimpleGraph(squashedgraph), sqvertices) end end