Skip to content

Instantly share code, notes, and snippets.

@systay
Last active December 29, 2015 18:09
Show Gist options
  • Save systay/7709022 to your computer and use it in GitHub Desktop.
Save systay/7709022 to your computer and use it in GitHub Desktop.
= Fractal graphs
:author: Andrés Taylor
:twitter: @andres_taylor
//setup
//hide
[source,cypher]
----
CREATE ()
----
One run
//hide
[source,cypher]
----
MATCH (n) WHERE NOT (n)-->()
CREATE ()<-[:R]-(n)-[:R]->()
----
//graph
Two run
//hide
[source,cypher]
----
MATCH (n) WHERE NOT (n)-->()
CREATE ()<-[:R]-(n)-[:R]->()
----
//graph
Three run
//hide
[source,cypher]
----
MATCH (n) WHERE NOT (n)-->()
CREATE ()<-[:R]-(n)-[:R]->()
----
//graph
Four run
//hide
[source,cypher]
----
MATCH (n) WHERE NOT (n)-->()
CREATE ()<-[:R]-(n)-[:R]->()
----
//graph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment