Skip to content

default values for get_prop #37

@filchristou

Description

@filchristou

Similar to Julia's Base.get would be nice to have get_prop(mgr::AbstractMetaGraph, v, defaultvalue), get_prop(mgr::AbstractMetaGraph, n1, n2, defaultvalue) and so on.
The implementation should be super easy. Just checking with has_prop and act appropriately.
Personally I would find that useful. Other opinions ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions