Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

cypher query to reproduce the graph#263

Unanswered
yoann-mr asked this question inQ&A
Discussion options

Hi,

Thanks for the detailed post on using neovis.js!

Could you please specify which cypher query was used to reproduced the Game of Thrones graph?

The default is

initial_cypher: "MATCH (n)-[r:INTERACTS]->(m) RETURN n,r,m"

I tried entering:
MATCH (c:Character)
WITH c ORDER BY size( (c)-[:INTERACTS]-() ) DESC LIMIT 50
WITH collect(c) as characters
RETURN [c IN characters | [ (c)-[r:INTERACTS]-(o) WHERE o IN characters AND r.weight > 30 | [c,r,o]]] as graph

But it did not work.

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@yoann-mr
Converted from issue

This discussion was converted from issue #38 on June 30, 2022 14:34.


[8]ページ先頭

©2009-2025 Movatter.jp