Graph Database
Database Toolbox enables you to connect to a Neo4j graph database using the MATLAB interface to Neo4j. After creating a Neo4j connection, you can search the graph database data. Create, update, and delete nodes and relationships in the database. Update node labels and properties and update relationship properties. Perform analysis with graph network algorithms using the MATLAB directed graph. Store the directed graph in the Neo4j database. Traverse and analyze graph data by executing Cypher® queries using the Cypher query language.
You can also connect to a Neo4j database using the Bolt protocol. You can use the same functionality to interact with graph data stored in a Neo4j database. To connect using the Bolt protocol, you must install the Database Toolbox Interface for Neo4j Bolt Protocol.
Functions
Objects
Neo4jConnect | Neo4j database connection |
Neo4jNode | Neo4j database node |
Neo4jRelation | Neo4j database relationship |
Topics
About Neo4j Database Interfaces
- Graph Database Workflow for Neo4j Database Interfaces
Discover the Neo4j graph database and explore the Neo4j database interfaces and workflow. - Database Toolbox Interface for Neo4j Bolt Protocol Installation
Install the Database Toolbox Interface for Neo4j Bolt Protocol and learn about the supported Neo4j database versions.
Explore and Update Graph
- Search Graph Database
Conduct general or targeted searches. - Explore Graph Database Structure
Traverse the graph database structure. - Update Friend Information in Social Neighborhood
Create, update, and delete nodes and relationships in a Neo4j database.
Analyze Graph Data Using MATLAB digraph
Object
- Determine Dependencies of Services in Network
Perform graph network analysis to find dependencies. - Find Shortest Path Between People in Social Neighborhood
Perform graph network analysis to determine the shortest path. - Find Friends of Friends in Social Neighborhood
Perform graph network analysis to determine successor nodes. - Add and Query Group of Colleagues in Social Neighborhood
Store a directed graph in a Neo4j database and then execute a Cypher query on the resulting graph.
Troubleshooting
Error Messages for Neo4j Database Interfaces
Address error messages for a Neo4j database, the MATLAB interface to Neo4j, and the Database Toolbox Interface for Neo4j Bolt Protocol.