Neo4j Desktop is a really useful application for every graph enthusiast, developer or analyst who uses Neo4j on a regular basis.
Graphlytic's main goal is to make graph modeling and analytics for day-to-day operations as simple and straightforward as possible. We are constantly adding new features to the visualization and automation modules because we believe that working with graphs, answering questions based on graph data and task automation with graphs should be easy and accessible even without any or only very little technical knowledge.
Graphlytic is a graph analytics and visualization web application that can be installed in several ways and one of these ways is to install it in Neo4j Desktop for local usage. This article covers steps needed to install and run Graphlytic in Neo4j Desktop.
Installation Of Graphlytic In Neo4j Desktop
Supported platforms: macOS, Windows, and Ubuntu (latest versions). Basically, if you are able to run Neo4j Desktop on your machine you should be able to run Graphlytic.
Please contact us at support(at)graphlytic.biz or make a small post to Neo4j Community portal with any questions or suggestions on how to improve Graphlytic.
The prerequisite for installation of Graphlytic in Neo4j Desktop is the installation of Neo4j Desktop. The installation of Neo4j is pretty simple and beginner friendly. If you haven’t already, download, activate and start using Neo4j Desktop for free - https://neo4j.com/developer/neo4j-desktop/.
After having Neo4j Desktop installed and activated you can start with Graphlytic:
- Open the Neo4j Desktop application on your machine.
- Go to the "Graph Applications" page (in the left menu), find the "Install" input field, enter the Graphlytic Desktop app URL: https://npm.graphlytic.biz/graphlytic-desktop and click "Install".
- Other option is to add Graphlytic Desktop directly from the Graph Apps Gallery
- Start a local Neo4j Graph instance
- Current version of Graphlytic Desktop works with Neo4j 3.5.6 - 3.5.17
- Version working with Neo4j 4 will be released in May 2020
- Start Graphlytic by Choosing "Graphlytic Desktop" application from the "Open" menu in your running Neo4j Graph. If the login screen appears use these credentials:
- username: admin
- password: admin
- Reindex the fulltext index - this is especially needed when you connect Graphlytic to any existing Neo4j graph, with data already loaded in the graph. More information can be found in the chapter Fulltext Search below the video.
Here is a short clip of all steps in installing and running Graphlytic Desktop with an existing Neo4j Graph:
Next steps and resources
So, what can you do with your freshly installed Graphlytic? There are several use cases where Graphlytic can be very helpful with it's features, e.g.:
- Graph Modeling - manual modeling or graph generated from different data sources.
- Pattern searching and visualization with simple build-in analytics.
- Visualization and analysis of graphs with parallel relationships - this is useful particularly for analysis of event logs and communication logs. There is a short video later in the article on this topic.
- Scheduled Jobs for automatic data update and graph manipulation.
We are striving to get the right balance between two opposite things - simple graph UI and support for complex tasks. We have achieved this by combination of extensive configuration options and bespoke customization. Graphlytic is ready to be used out of the box for any graph data but the true value is in configuration options like:
When you want to use the fultext index in Graphlytic, please configure it first and reindex the connected Neo4j graph. This is especially needed when Graphlytic is for the first time connected to an existing Neo4j graph - without reindexing the fulltext search will not work (only the first 10 nodes will be accessible). After that Graphlytic will automatically reindex any changes done in the graph.
Fulltext index configuration is accessible from these pages:
- "Search & Manage Data" - available in the main menu in the right part of the header
- "Visualization" - the fulltext configuration button is located in the header right next to the search input field
Step for reindexing the fulltext index (see picture below):
- Open the "Fulltext search configuration"
- Choose properties that will be indexed
- Click on "Start indexing"
Visualization, Style Mappers and Views
User can modify pretty much any aspect of the visualization with the UI but in most cases a common understanding and interpretation of the graph data is in place. This common interpretation can be used to create default (globally accessible for all users) styling objects like mappers and default visualization settings which is then used as a default setting every time the user creates a new visualization.
- Documentation : Visualization Settings, Style Mappers, Style Views,
- Video : Statistics, Layouts, Selections, Exploring
With this configuration, it's possible to create a repository of predefined views (queries). These views are then accessible for users on the Search page in the form of a tab that user can add from the repository with one click. There are two types of these views: query builder which returns data in the form of a paginated table with sortable columns and cypher query where the user inputs any cypher query and visualize the result.
Users, Groups and Application Permissions
Graphlytic is a web application where only defined users have access. Users can be grouped into groups () and these groups can have all sorts of things defined with Application Permission, like if users of this group can only read data or if they can also input data. If they can export data, share visualizations, change global settings, create jobs and more.
Data Access Management (or Data Security)
Every user group can have different permissions regarding which part of the graph (nodes and relationship) and which properties can be or can not be accessed by users of this group. This allows creating specialized user groups that have restricted privileges like can access the graph itself but can not access financial data stored in properties etc.
Graphlytic contains an ETL module (Extract, Transform, Load) which allows creating jobs in form of an XML document that defines a set of steps that are executed when the job is started (manually or scheduled with CRON like expressions). Every step can produce a dataset that is then passed as an input to the next step. Steps are defined as the usage of a driver with specific parameters. Graphlytic includes for instance drivers for CSV, Neo4j connection and Cypher execution, Mail, Groovy, Log, Text, XPath. New drivers can be inserted into Graphlytic installation, like when you need a specific JDBC driver or when you want to create your own driver in Java for some use case specific post-processing after data update.
- Documentation : Scheduled Jobs