|
1 | 1 | module StaticGraphs
|
2 | 2 |
|
3 |
| -using LightGraphs |
| 3 | +using Graphs |
4 | 4 | using JLD2
|
5 | 5 | using SparseArrays
|
6 | 6 |
|
7 | 7 | import Base:
|
8 | 8 | convert, eltype, show, ==, Pair, Tuple, in, copy, length, issubset, zero, one,
|
9 | 9 | size, getindex, setindex!, length, IndexStyle
|
10 | 10 |
|
11 |
| -import LightGraphs: |
| 11 | +import Graphs: |
12 | 12 | _NI, AbstractEdge, AbstractEdgeIter,
|
13 | 13 | src, dst, edgetype, nv, ne, vertices, edges, is_directed,
|
14 | 14 | has_vertex, has_edge, inneighbors, outneighbors,
|
15 | 15 | indegree, outdegree, degree, insorted, squash,
|
16 | 16 | AbstractGraphFormat, loadgraph, savegraph, reverse
|
17 | 17 |
|
18 |
| -import LightGraphs.SimpleGraphs: |
| 18 | +import Graphs.SimpleGraphs: |
19 | 19 | AbstractSimpleGraph,
|
20 | 20 | fadj,
|
21 | 21 | badj,
|
@@ -103,7 +103,7 @@ include("persistence.jl")
|
103 | 103 | const SGraph = StaticGraph
|
104 | 104 | const SDiGraph = StaticDiGraph
|
105 | 105 |
|
106 |
| -const StaticEdgeIter{G} = LightGraphs.SimpleGraphs.SimpleEdgeIter{G} |
| 106 | +const StaticEdgeIter{G} = Graphs.SimpleGraphs.SimpleEdgeIter{G} |
107 | 107 |
|
108 | 108 | eltype(::Type{StaticEdgeIter{StaticGraph{T, U}}}) where T where U = StaticGraphEdge{T}
|
109 | 109 | eltype(::Type{StaticEdgeIter{StaticDiGraph{T, U}}}) where T where U = StaticDiGraphEdge{T}
|
|
0 commit comments