diff --git a/Project.toml b/Project.toml index 3268010..9266b44 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "DataGraphs" uuid = "b5a273c3-7e6c-41f6-98bd-8d7f1525a36a" -version = "0.2.11" +version = "0.2.12" authors = ["Matthew Fishman and contributors"] [deps] diff --git a/src/abstractdatagraph.jl b/src/abstractdatagraph.jl index b944d59..e533790 100644 --- a/src/abstractdatagraph.jl +++ b/src/abstractdatagraph.jl @@ -38,12 +38,6 @@ underlying_graph_type(graph::AbstractDataGraph) = typeof(underlying_graph(graph) vertex_data_eltype(graph::AbstractDataGraph) = eltype(vertex_data(graph)) edge_data_eltype(graph::AbstractDataGraph) = eltype(edge_data(graph)) -# TODO: delete, defined for AbstractGraph{V}? -function GraphsExtensions.vertextype(graph_type::Type{<:AbstractDataGraph}) - return vertextype(underlying_graph_type(graph_type)) -end -GraphsExtensions.vertextype(graph::AbstractDataGraph) = vertextype(typeof(graph)) - Base.zero(graph_type::Type{<:AbstractDataGraph}) = graph_type() # Graphs overloads