Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

We shouldn't be allowed to set_indexing_prop! on nonexistent vertices #74

Open
sbromberger opened this issue Apr 10, 2019 · 0 comments
Open
Labels

Comments

@sbromberger
Copy link
Owner

julia> g = MetaGraph(1)
{1, 0} undirected Int64 metagraph with Float64 weights defined by :weight (default weight 1.0)

julia> set_indexing_prop!(g, 2, :index, "v2")
Set(Symbol[:index])

julia> g.vprops
Dict{Int64,Dict{Symbol,Any}} with 2 entries:
  2 => Dict{Symbol,Any}(:index=>"v2")
  1 => Dict{Symbol,Any}(:index=>"index1")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant