Short tests with asciidoc

Who is training you?

Presenter: Peter Neubauer

Twitter: @neo4j

Email: info@neotechnology.com

Code

Custom color code

MATCH (n)→() RETURN n should be highlighted and monospace

code block

Includes of graph viz

Arrows

  • b
  • a

Lab 1

Which directors also acted in their movie?

Query

Result

euler

Leonhard Euler, Swiss Mathematician, 1707-1783

Königsberg (Prussia) - 1736

konigsberg1

Königsberg (Prussia) - 1736

konigsberg2

Königsberg (Prussia) - 1736

konigsberg3

Include graphgist

You create a GraphGist by creating a GitHub Gist in AsciiDoc and enter the URL to it in the form on this page.

Click on the Page Source button in the menu to see the source for this GraphGist!

Include a query console

//console

becomes:

Define a Cypher query

[source,cypher]
----
CREATE (n{name:'cypher'})-[r:LIKES]->({name:'icecream'}) return n.name, r
----

becomes:

Queries are executed in the order they appear on the page during rendering, so make sure they can be performed in that order. Each query has a green or red button to indicate if the query was successful or not. The console is set up after the executions, with an empty database, for the reader to play around with the queries.

A training video

Run a query with a setup

/

#

Status of the presenation

Cypher queries execution