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

Web visualize does not works #111

Closed
tvildo opened this issue Aug 9, 2014 · 3 comments
Closed

Web visualize does not works #111

tvildo opened this issue Aug 9, 2014 · 3 comments

Comments

@tvildo
Copy link

tvildo commented Aug 9, 2014

sigmajs throws exception : "The node must have a string id"

capture

@barakmich
Copy link
Member

That could probably be more robust, but do look at https://github.com/google/cayley/blob/master/docs/Overview.md -- Notably, visualizing nodes without some sort of connection is going to not be that useful. Try
graph.Vertex().Tag('source').Out().Tag('target').GetLimit(5)
-- you'll notice that the points at which 'source' and 'target' are named are important.

@barakmich
Copy link
Member

Closing as WAI, without other issues.

@iostat
Copy link

iostat commented Jun 3, 2016

For anyone who ends up on this issue and @barakmich's response wasn't entirely clear, the points actually HAVE to be tagged "source" and "target", not just have a label.

That was a few hours of head scratching!

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

3 participants