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

How to get x,y coords for a node? #11

Closed
ghost opened this issue Aug 6, 2012 · 1 comment
Closed

How to get x,y coords for a node? #11

ghost opened this issue Aug 6, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 6, 2012

This inst really an issue, but more of a question. How do I get the coordinates of a node? I am using the example provided, but have not been able to find where/if the coordinates are stored.

I explored the graph object but such attributes do not seem to be there.

// Print the dot script
console.log( g.to_dot() );

console.log(g); // There does not seem to be any such info in this object, nor is there any info on an individual node.

Any help on this would be much appreciated. Thank you.

@ghost
Copy link
Author

ghost commented Aug 7, 2012

Sorry, I forgot to render the graph first! Great work in this btw

@ghost ghost closed this as completed Aug 7, 2012
This issue was closed.
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

0 participants