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

Allow AbstractDict for edge attributes #137

Open
simonschoelly opened this issue Nov 7, 2020 · 1 comment
Open

Allow AbstractDict for edge attributes #137

simonschoelly opened this issue Nov 7, 2020 · 1 comment

Comments

@simonschoelly
Copy link

I noticed that edge attributes can be specified by a Dict but not an AbstractDict. Would it make sense to allow also AbstractDict? Then for example one could use DefaultDict from DataStructures.jl to specify some edge attributes.

@JackDevine
Copy link
Member

I agree, I don't think that I had any really good reasons for choosing Dict, other than that is the data structure that I use 99% of the time. Feel free to make a pull request with this feature, otherwise I will add it to my todo list.

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

2 participants