From ac17cadf8c0e397889a112689678ff35d2248a46 Mon Sep 17 00:00:00 2001 From: Tamino Dauth Date: Tue, 16 Apr 2019 13:54:38 +0200 Subject: [PATCH] More information about apoc and embedded driver #19 --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 463b671..9380a94 100644 --- a/README.md +++ b/README.md @@ -75,15 +75,33 @@ Each state machine is represented by a separate graph database stored in a separ The relationship types correspond to actions. Each relation has the property "counter" which contains the execution counter of the action. -We have to use a Bolt driver since the corresponding software does not support to visualize embedded databases etc. +We cannot use an embdedded driver if we want to use the corresponding software such as Neo4J Desktop. +apoc procedures have to be registered manually for an embedded database. -Useful software: +Useful software for Neo4J: * Visualization: * Gephi: * Desktop application: * IntelliJ IDEA plugin: +### GraphML Export + +neo4j.conf: +``` +apoc.export.file.enabled=true +``` + +Use this call: +``` +call apoc.export.graphml.all("test.graphml",{}) +``` + +This can be done in the Neo4J browser. +The file is stored in the home directory. + +### Docker + Run neo4j with Docker: ```bash docker run \ @@ -94,3 +112,6 @@ docker run \ ``` The user has to be part of the group `docker`. See . + +apoc procedures must be installed manually to the Docker image. +See .