Skip to content

Latest commit

 

History

History
79 lines (57 loc) · 3.92 KB

Home.adoc

File metadata and controls

79 lines (57 loc) · 3.92 KB

What is the Neo4j GraphGist Project?

neo4j logo

Neo4j GraphGists are an easy way to create and share documents containing not just prose, structure and pictures but most importantly example graph models and use-cases expressed in Neo4j’s query language Cypher.

These documents are written in AsciiDoc — the simple, textual markup language — and rendered in your browser as rich and interactive web pages that you can quickly evolve from describing simple howtos or questions to providing an extensive use-case specification.

To see the expressive power of this approach, here are some winners of our past community competitions:

Getting Started

Follow these easy steps

  1. Log into your GitHub account

  2. Choose one of the examples listed above, click the green page source button.

  3. Fork the original GraphGist into your own account and start to edit the prose, images, setup and use-case Cypher queries.

  4. Paste the Github Gist URL into the top right URL box of any GraphGist page and hit enter; your Gist will be loaded and rendered immediately.

  5. Reload your GraphGist page whenever you made an update to your document.

  6. Share your GraphGist with your colleagues, friends or us. Hit the submit link in the footer, when you are ready to get your t-shirt reward.

Setup a Graph to show you and your Likes

CREATE (you:Person {name:"You"})-[like:LIKE]->(us:Database:NoSql:Graph {name:"Neo4j" })
RETURN you, like, us

And render as a graph.

Now query the graph to show all the things you like

MATCH (you:Person {name:"You"})-[like:LIKE]->(liked)
RETURN you.name AS who, type(like) AS how, liked.name AS what

And render as a table.

Note
This document is a GraphGist itself, so you can use the green Page Source button on top of the page to see the original AsciiDoc document.

We’d love to get your feedback, so feel free to write us at docs at neo4j.org or comment in the section below.