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

x and y in hello world example #44

Merged
merged 1 commit into from Feb 3, 2013
Merged

x and y in hello world example #44

merged 1 commit into from Feb 3, 2013

Conversation

edsu
Copy link
Contributor

@edsu edsu commented Aug 16, 2012

I'm new to sigma.js and I was following the hello world example, but couldn't figure out why both nodes weren't displaying properly. I didn't realize that x and y would default to the center of the graph, and "world" would overlay on top of the "hello". I just thought adding the x and y parameters to the example would make this potentially clearer to new users, maybe.

@SanderDemeester
Copy link

what are the (x,y) cordinate relative to the plane? (0,0) is clearly not the center, or left down, or left up. So what is it?

@edsu
Copy link
Contributor Author

edsu commented Aug 28, 2012

I wondered the same, and don't actually know. I was following jacomyal's instructions somewhat blindly.

jacomyal added a commit that referenced this pull request Feb 3, 2013
x and y in hello world example
@jacomyal jacomyal merged commit dc251c0 into jacomyal:master Feb 3, 2013
@clawfrank
Copy link

This was added to README.md on github but is still missing at http://sigmajs.org/ .

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

Successfully merging this pull request may close these issues.

None yet

4 participants