You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/MetaGraphs.jl
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ import LightGraphs:
16
16
has_vertex, has_edge, inneighbors, outneighbors,
17
17
weights, indegree, outdegree, degree,
18
18
induced_subgraph,
19
-
loadgraph, savegraph, AbstractGraphFormat
19
+
loadgraph, savegraph, AbstractGraphFormat,
20
+
reverse
20
21
21
22
import LightGraphs.SimpleGraphs:
22
23
AbstractSimpleGraph, SimpleGraph, SimpleDiGraph,
@@ -41,7 +42,8 @@ export
41
42
filter_edges,
42
43
filter_vertices,
43
44
MGFormat,
44
-
set_indexing_prop!
45
+
set_indexing_prop!,
46
+
reverse
45
47
46
48
const PropDict = Dict{Symbol,Any}
47
49
const MetaDict = Dict{Symbol,Dict{Any,Integer}}
@@ -318,7 +320,7 @@ rem_prop!(g::AbstractMetaGraph{T}, u::Integer, v::Integer, prop::Symbol) where T
318
320
319
321
Provides a default index value for a vertex if no value currently exists. The default is a string: "\$prop\$i" where `prop` is the property name and `i` is the vertex number. If some other vertex already has this name, a randomized string is generated (though the way it is generated is deterministic).
0 commit comments