Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxdemarzi/customshort
Shortest Path that includes at least one of given RelTypes
https://github.com/maxdemarzi/customshort
graphs neo4j neo4j-database neo4j-procedures shortest-paths traversal
Last synced: about 1 month ago
JSON representation
Shortest Path that includes at least one of given RelTypes
- Host: GitHub
- URL: https://github.com/maxdemarzi/customshort
- Owner: maxdemarzi
- License: mit
- Created: 2017-01-03T21:07:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-03T21:53:29.000Z (about 8 years ago)
- Last Synced: 2024-12-10T00:47:51.495Z (about 2 months ago)
- Topics: graphs, neo4j, neo4j-database, neo4j-procedures, shortest-paths, traversal
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Custom Short
Example Traversal API finding the first shortest path to a node by way of at least one of given relationship types# Instructions
1. Build it:
# neo_path_to_label
Example Traversal API finding the first shortest path to a node with a specific label
# Instructions
1. Build it:
mvn clean package
2. Copy target/custom-short-1.0-SNAPSHOT.jar to the plugins/ directory of your Neo4j server.
3. Configure Neo4j by adding a line to conf/neo4j.conf:
#dbms.unmanaged_extension_classes=com.maxdemarzi=/v1
4. Start Neo4j server.
5. Try the extension:
:POST /v1/service/shortest {"from":"1","to":"2","types":["TYPE1","TYPE2"]}