-
Notifications
You must be signed in to change notification settings - Fork 21
Replace "code" with "index" #17
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
Comments
Not sure who's still watching this repo, but @bramtayl I might move forward with this |
I'm still watching. Still agree with #16 (comment) but I'm ok changing it too. |
If I understand correctly, you worry that there may be a confusion between
I hadn't understood this before, and I think you're right. What would you think about an approach à la MetaGraphs, where |
Of course that would mean going from a |
In base,
Because these have a convenient syntax, I wanted to reserve them for very common operations (using labels instead of codes, which I encourage). I think it might be confusing if we call codes indices, but pass labels (not codes/indices) to
That might be ok, but then how would `setindex! work? |
I see how this might be confusing, however due to the convenient
|
I guess I'm more used to building the metadata on vertices and edges once and for all, and applying lots of graph algorithms afterwards, which is why the second option made more sense to me |
Closing this for now |
The whole
MetaGraphsNext
package uses the word "code" for what is usually called the index of a vertex. Maybe we could change that to get closer toLightGraphs
conventions?The text was updated successfully, but these errors were encountered: