Skip to content

Commit

Permalink
Change LightGraphs to Graphs (#32)
Browse files Browse the repository at this point in the history
* updated LightGraphs -> Graphs

* updated supported TikzGraphs versions
  • Loading branch information
lmondada authored Oct 5, 2022
1 parent 963d249 commit 87ebee3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ version = "0.4.0"

[deps]
CommonSubexpressions = "bbf7d656-a473-5ed7-a52c-81e309532950"
LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
TikzGraphs = "b4f28e30-c73f-5eaf-a395-8a9db949a742"

[compat]
CommonSubexpressions = "0.2, 0.3"
LightGraphs = "0.13.1, 0.14, 1.0, 1.1, 1.2, 1.3"
Graphs = "1.4, 1.5, 1.6"
MacroTools = "0.4, 0.5"
TikzGraphs = "1.0, 1.1"
TikzGraphs = "1.3"
julia = "^0.7, ^1"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion src/TreeView.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module TreeView

using LightGraphs, TikzGraphs
using Graphs, TikzGraphs
using MacroTools
using CommonSubexpressions

Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using TreeView
using LightGraphs
using Graphs
using Test

# write your own tests here
Expand All @@ -8,7 +8,7 @@ using Test
t = @tree 1x

@test isa(t, TreeView.LabelledTree)
@test isa(t.g, LightGraphs.DiGraph)
@test isa(t.g, Graphs.DiGraph)
@test isa(t.labels, Vector{Any})

@test vertices(t.g) == collect(1:3)
Expand Down

0 comments on commit 87ebee3

Please sign in to comment.