Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 89 lines (66 sloc) 1.275 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
deck.js and Neo4j docs
======================

////
== Slide One

[options="incremental"]
 * item 1
 * item 2
////

== Include code ==

Include source code like in this example:

[snippet, java]
----
component=neo4j-examples
source=org/neo4j/examples/EmbeddedNeo4j.java
classifier=sources
tag=createReltype
----

by adding this to the slide source:

[source]
----
 [snippet, java]
 ----
 component=neo4j-examples
 source=org/neo4j/examples/EmbeddedNeo4j.java
 classifier=sources
 tag=createReltype
 ----
----

== Include a graph ==

This graph:

["dot", "slides-I-KNOW-You.svg", "meta"]
----
  I -> You [label="KNOW"]
----

is created just so:
[source]
----
 ["dot", "slides-I-KNOW-You.svg", "meta"]
 ----
   I -> You [label="KNOW"]
 ----
----

== Include generated graphs ==

include::{importdir}/neo4j-examples-docs-jar/dev/hello-world-java-graph.txt[]

It's just an include statement:

[source]
----
 include::{importdir}/neo4j-examples-docs-jar/dev/hello-world-java-graph.txt[]
----


== Include a live console ==

Cypher with syntax highlighting and a live console:

[source,cypher]
----
START n=node(1)
RETURN n
----

.Console
[console]
----
(1) {"name":"A"}
(2) {"name":"B"}
(3) {"name":"C"}
(1)-[:KNOWS]->(2) {}
(1)-[:KNOWS]->(3) {}

start n=node(1) return n
----

Something went wrong with that request. Please try again.