We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de89840 commit a1ef56fCopy full SHA for a1ef56f
src/graphs.jl
@@ -41,14 +41,16 @@ function Base.issubset(meta_graph::MetaGraph, h::MetaGraph)
41
return issubset(meta_graph.graph, h.graph)
42
end
43
44
-function Graphs.is_directed(meta_graph::MetaGraph)
45
- return Graphs.is_directed(meta_graph.graph)
+function Graphs.is_directed(
+ ::MetaGraph{Code,Label,Graph}
46
+) where {Code,Label,Graph<:AbstractGraph}
47
+ return is_directed(Graph)
48
49
50
function Graphs.is_directed(
51
::Type{<:MetaGraph{Code,Label,Graph}}
52
) where {Code,Label,Graph<:AbstractGraph}
- return Graphs.is_directed(Graph)
53
54
55
56
## Link between graph codes and metagraph labels
0 commit comments