Skip to content

Commit dd8d28d

Browse files
Migrate from LightGraphs to Graphs.jl
1 parent 3c41e90 commit dd8d28d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Project.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
name = "GraphDatasets"
22
uuid = "bf13de61-383b-4610-8d2c-e75fac0df62b"
33
authors = ["Simon Schoelly <sischoel@gmail.com> and contributors"]
4-
version = "0.1.1"
4+
version = "0.2.0"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
88
DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
9-
LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d"
9+
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1010
SimpleValueGraphs = "b43c691f-cac2-5415-8122-396fe16a49fc"
1111

1212
[compat]
13-
julia = "1.5"
14-
SimpleValueGraphs = "0.3.1"
15-
DataDeps = "0.7.7"
1613
CSV = "0.8.3"
17-
LightGraphs = "1.3.5"
14+
DataDeps = "0.7.7"
15+
Graphs = "1.4.1"
16+
SimpleValueGraphs = "0.4"
17+
julia = "1.5"
1818

1919
[extras]
2020
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ julia> g = qm9[1234]
4343
edge value types: (Bool, Bool, Bool, Bool)
4444
graph value types:= Float64, α = Float64, ϵ_HOMO = Float64, ϵ_LUMO = Float64, Δϵ = Float64, electronig_spatial_energy = Float64, ZPVE = Float64, U_0 = Float64, U = Float64, H = Float64, G = Float64, c_v = Float64, UATOM_0 = Float64, UTAM = Float64, HATOM = Float64, GATOM = Float64, A = Float64, B = Float64, C = Float64)
4545

46-
# ValGraphCollectionView inherits from LightGraphs.AbstractGraph and SimpleValueGraphs.AbstractValGraph
46+
# ValGraphCollectionView inherits from Graphs.AbstractGraph and SimpleValueGraphs.AbstractValGraph
4747
# and can therefore be used like other graph types
48-
julia> using LightGraphs: diameter
48+
julia> using Graphs: diameter
4949

5050
julia> diameter(g)
5151
7
@@ -67,7 +67,7 @@ julia> ValGraph(g)
6767

6868
- [GraphMLDatasets.jl](https://github.com/yuehhua/GraphMLDatasets.jl)
6969
- [SNAPDatasets.jl](https://github.com/JuliaGraphs/SNAPDatasets.jl)
70-
- [LightGraphsExtras.j](https://github.com/JuliaGraphs/LightGraphsExtras.jl)
70+
- [GraphsExtras.j](https://github.com/JuliaGraphs/GraphsExtras.jl)
7171
- [MatrixMarket.jl](https://github.com/JuliaSparse/MatrixMarket.jl)
7272
- [MatrixDepot.jl](https://github.com/JuliaMatrices/MatrixDepot.jl)
7373

src/GraphDatasets.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module GraphDatasets
22

33
import Base: getindex, length, eltype, iterate, show, firstindex, lastindex
44

5-
import LightGraphs: loadgraphs, SimpleGraph
5+
import Graphs: loadgraphs, SimpleGraph
66

77
import SimpleValueGraphs:
88
nv, has_edge, is_directed,
@@ -32,7 +32,7 @@ export
3232
lastindex,
3333

3434

35-
# reexport from LightGraphs & SimpleValueGraphs
35+
# reexport from Graphs.jl & SimpleValueGraphs
3636
nv,
3737
has_edge,
3838

0 commit comments

Comments
 (0)