Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default values for get_prop #37

Open
filchristou opened this issue Mar 7, 2022 · 0 comments
Open

default values for get_prop #37

filchristou opened this issue Mar 7, 2022 · 0 comments

Comments

@filchristou
Copy link
Contributor

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant