|
1 | 1 | using Base: depwarn
|
2 | 2 |
|
3 | 3 |
|
4 |
| -function _nv(g) |
5 |
| - depwarn("`GraphPlot._nv(g)` is deprectated. Use `LightGraphs.nv(g)` instead.", :_nv) |
6 |
| - return LightGraphs.nv(g) |
| 4 | +function _nv(g) |
| 5 | + depwarn("`GraphPlot._nv(g)` is deprectated. Use `Graphs.nv(g)` instead.", :_nv) |
| 6 | + return Graphs.nv(g) |
7 | 7 | end
|
8 | 8 |
|
9 |
| -function _ne(g) |
10 |
| - depwarn("`GraphPlot._ne(g)` is deprectated. Use `LightGraphs.ne(g)` instead.", :_ne) |
11 |
| - return LightGraphs.ne(g) |
| 9 | +function _ne(g) |
| 10 | + depwarn("`GraphPlot._ne(g)` is deprectated. Use `Graphs.ne(g)` instead.", :_ne) |
| 11 | + return Graphs.ne(g) |
12 | 12 | end
|
13 | 13 |
|
14 |
| -function _vertices(g) |
15 |
| - depwarn("`GraphPlot._vertices(g)` is deprectated. Use `LightGraphs.vertices(g)` instead.", :_vertices) |
16 |
| - return LightGraphs.vertices(g) |
| 14 | +function _vertices(g) |
| 15 | + depwarn("`GraphPlot._vertices(g)` is deprectated. Use `Graphs.vertices(g)` instead.", :_vertices) |
| 16 | + return Graphs.vertices(g) |
17 | 17 | end
|
18 | 18 |
|
19 |
| -function _edges(g) |
20 |
| - depwarn("`GraphPlot._edges(g)` is deprectated. Use `LightGraphs.edges(g)` instead.", :_edges) |
21 |
| - return LightGraphs.edges(g) |
| 19 | +function _edges(g) |
| 20 | + depwarn("`GraphPlot._edges(g)` is deprectated. Use `Graphs.edges(g)` instead.", :_edges) |
| 21 | + return Graphs.edges(g) |
22 | 22 | end
|
23 | 23 |
|
24 |
| -function _src_index(e, g) |
25 |
| - depwarn("`GraphPlot._src_index(g)` is deprectated. Use `LightGraphs.src(e)` instead.", :_src_index) |
26 |
| - return LightGraphs.src(e) |
| 24 | +function _src_index(e, g) |
| 25 | + depwarn("`GraphPlot._src_index(g)` is deprectated. Use `Graphs.src(e)` instead.", :_src_index) |
| 26 | + return Graphs.src(e) |
27 | 27 | end
|
28 | 28 |
|
29 |
| -function _dst_index(e, g) |
30 |
| - depwarn("`GraphPlot._dst_index(g)` is deprectated. Use `LightGraphs.dst(e)` instead.", :_dst_index) |
31 |
| - return LightGraphs.dst(e) |
| 29 | +function _dst_index(e, g) |
| 30 | + depwarn("`GraphPlot._dst_index(g)` is deprectated. Use `Graphs.dst(e)` instead.", :_dst_index) |
| 31 | + return Graphs.dst(e) |
32 | 32 | end
|
33 | 33 |
|
34 |
| -function _adjacency_matrix(g) |
35 |
| - depwarn("`GraphPlot._adjacency_matrix(g)` is deprectated. Use `LightGraphs.adjacency_matrix(g)` instead.", :_adjacency_matrix) |
36 |
| - return LightGraphs.adjacency_matrix(g) |
| 34 | +function _adjacency_matrix(g) |
| 35 | + depwarn("`GraphPlot._adjacency_matrix(g)` is deprectated. Use `Graphs.adjacency_matrix(g)` instead.", :_adjacency_matrix) |
| 36 | + return Graphs.adjacency_matrix(g) |
37 | 37 | end
|
38 | 38 |
|
39 |
| -function _is_directed(g) |
40 |
| - depwarn("`GraphPlot._is_directed(g)` is deprectated. Use `LightGraphs.is_directed(g)` instead.", :_is_directed) |
41 |
| - return LightGraphs.is_directed(g) |
| 39 | +function _is_directed(g) |
| 40 | + depwarn("`GraphPlot._is_directed(g)` is deprectated. Use `Graphs.is_directed(g)` instead.", :_is_directed) |
| 41 | + return Graphs.is_directed(g) |
42 | 42 | end
|
43 | 43 |
|
44 |
| -function _laplacian_matrix(g) |
45 |
| - depwarn("`GraphPlot._laplacian_matrix(g)` is deprectated. Use `LightGraphs.laplacian_matrix(g)` instead.", :_laplacian_matrix) |
46 |
| - return LightGraphs.laplacian_matrix(g) |
| 44 | +function _laplacian_matrix(g) |
| 45 | + depwarn("`GraphPlot._laplacian_matrix(g)` is deprectated. Use `Graphs.laplacian_matrix(g)` instead.", :_laplacian_matrix) |
| 46 | + return Graphs.laplacian_matrix(g) |
47 | 47 | end
|
48 | 48 |
|
49 | 49 |
|
|
0 commit comments