Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was 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

@sbromberger

Description

@sbromberger
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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions