All Projects → jbitton → neo4j-graph-renderer

jbitton / neo4j-graph-renderer

Licence: MIT license
A React.js component that allows you to render neo4j graphs

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to neo4j-graph-renderer

aioneo4j
asyncio client for neo4j
Stars: ✭ 29 (-35.56%)
Mutual labels:  neo4j
neo4j-graphql-java
Pure JVM translation for GraphQL queries and mutations to Neo4j's Cypher
Stars: ✭ 94 (+108.89%)
Mutual labels:  neo4j
cotect
🛡Crowd-sourced COVID-19 reporting and assessment system.
Stars: ✭ 14 (-68.89%)
Mutual labels:  neo4j
twitter
Use the twitter streaming API and store tweets, users, ... in a NEO4J database
Stars: ✭ 26 (-42.22%)
Mutual labels:  neo4j
social-graph-api
Authentication & Social Graph API built on top of Redis, Neo4J and Play!
Stars: ✭ 13 (-71.11%)
Mutual labels:  neo4j
neo4j-serverless-functions
google cloud functions for ingesting data into neo4j
Stars: ✭ 17 (-62.22%)
Mutual labels:  neo4j
graphcountries
An easy to use GraphQL API to query country-related data for free and without restrictions
Stars: ✭ 61 (+35.56%)
Mutual labels:  neo4j
NeoClient
🦉 Lightweight OGM for Neo4j which support transactions and BOLT protocol.
Stars: ✭ 21 (-53.33%)
Mutual labels:  neo4j
prov-db-connector
PROV Database Connector
Stars: ✭ 15 (-66.67%)
Mutual labels:  neo4j
flask-graphql-neo4j
A simple flask API to test-drive GraphQL and Neo4j
Stars: ✭ 74 (+64.44%)
Mutual labels:  neo4j
nean-stack-starter
neo4j, express, angular, node
Stars: ✭ 30 (-33.33%)
Mutual labels:  neo4j
neo4j-java-driver-spring-boot-starter
Automatic configuration of Neo4j's Java Driver for Spring Boot applications
Stars: ✭ 33 (-26.67%)
Mutual labels:  neo4j
neo4j-bloom
A public repository for informal docs, problem reporting and content sharing related to Neo4j Bloom.
Stars: ✭ 15 (-66.67%)
Mutual labels:  neo4j
decypher
A handful of cypher utilities for Node.js
Stars: ✭ 34 (-24.44%)
Mutual labels:  neo4j
liquigraph
Migrations for Neo4j
Stars: ✭ 122 (+171.11%)
Mutual labels:  neo4j
ml-models
Machine Learning Procedures and Functions for Neo4j
Stars: ✭ 63 (+40%)
Mutual labels:  neo4j
neo4-js
Neo4-js is a object-graph mapper for JavaScript and neo4j with full flow-type support.
Stars: ✭ 19 (-57.78%)
Mutual labels:  neo4j
Graph-OLAP
An attempt to model an OLAP cube with Neo4j.
Stars: ✭ 37 (-17.78%)
Mutual labels:  neo4j
chatbot
kbqa task-oriented qa seq2seq ir neo4j jena seq2seq tf chatbot chat
Stars: ✭ 32 (-28.89%)
Mutual labels:  neo4j
neo4j-aws-causal-cluster
Neo4j Enterprise Causal Cluster on AWS ECS by GetSocial
Stars: ✭ 24 (-46.67%)
Mutual labels:  neo4j

neo4j-graph-renderer

Since neo4j does not provide a way to render its graphs, I've created a react component that can be used in order to render a neo4j graph (with all the animations, etc).

Installation

If you are using create-react-app:

# using NPM
$ npm install neo4j-graph-renderer --save
# using yarn
$ yarn add neo4j-graph-renderer

If you are not using create-react-app, please install the following:

$ npm install style-loader --save-dev  # style-loader for webpack
$ npm install css-loader --save-dev    # css-loader for webpack

Usage

// Using ES6 Syntax
import React from 'react';
import ReactDOM from 'react-dom';
import { Neo4jGraphRenderer } from 'neo4j-graph-renderer';

const App = () => (
  <div>
     <Neo4jGraphRenderer url={process.env.NEO4J_URL} user={process.env.NEO4J_USER}
        password={process.env.NEO4J_PASSWORD} query="MATCH (n)-[r]->(m) RETURN n,r,m"/>
  </div>
);

ReactDOM.render(<App />, document.getElementById('root'));

Props you must provide:

  • url: the url required to access your neo4j db (e.g. "http://localhost:7474")
  • user: the username required to access your neo4j db
  • password: the password required to access your neo4j db
  • query: the query you'd like to execute

& There you go! Your neo4j graph has been rendered!

NOTE: If you would like to add any extra CSS or your own font, the graph is generated in a div with id "graph"

Issues

If you find a bug, please file an issue on the issue tracker on GitHub.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].