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 getproperty and setproperty! syntax for vertex labels #5

Closed
CameronBieganek opened this issue May 8, 2020 · 4 comments
Closed
Labels
wontfix This will not be worked on

Comments

@CameronBieganek
Copy link

It would be cool if the following syntax were supported:

g[:a].color = "blue"

g[:a, :b].size = 2
@bramtayl
Copy link
Collaborator

bramtayl commented May 8, 2020

This might be nice. I think I would like to maintain the consistency with the Dict interface. If this goes through in Base, I would absolutely be on board JuliaLang/julia#25750

@bramtayl
Copy link
Collaborator

bramtayl commented May 9, 2020

Then again, if JuliaLang/julia#25750 goes through, this will happen automatically. What would be nice to have though is getproperty and setproperty for vertex labels, so I'm renaming the issue. Let me know if you disagree.

@bramtayl bramtayl changed the title Allow getproperty and setproperty! syntax for getting and setting meta data Allow getproperty and setproperty! syntax for vertex labels May 9, 2020
@CameronBieganek
Copy link
Author

Then again, if JuliaLang/julia#25750 goes through, this will happen automatically.

That's technically a breaking change, so it probably won't go through until 2.0. See here.

@gdalle gdalle added the enhancement New feature or request label Nov 29, 2021
@gdalle gdalle added wontfix This will not be worked on and removed enhancement New feature or request labels Feb 22, 2023
@gdalle
Copy link
Member

gdalle commented Feb 22, 2023

Closing since we won't do it unless Julia does it

@gdalle gdalle closed this as completed Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants