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

Node attribute #36

Open
melug opened this issue Sep 30, 2011 · 1 comment
Open

Node attribute #36

melug opened this issue Sep 30, 2011 · 1 comment
Assignees

Comments

@melug
Copy link

melug commented Sep 30, 2011

Node has properties attribute. We can access the attributes using it, but can't set. It would be better if we can set like this:
n.properties['name'] = 'Neo'

@versae
Copy link
Owner

versae commented Sep 30, 2011

That's true. Actually I have a TODO line in the code for remembering me to do that, but it's not done yet.
By now, you can set the attributes using the regular syntax:
n['name'] = 'Neo'
Instead of
n.properties['name'] = 'Neo'

@ghost ghost assigned versae Sep 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants