{"id":15284747,"url":"https://github.com/jbitton/neo4j-graph-renderer","last_synced_at":"2025-04-12T23:44:29.524Z","repository":{"id":81695244,"uuid":"94817845","full_name":"jbitton/neo4j-graph-renderer","owner":"jbitton","description":"A React.js component that allows you to render neo4j graphs","archived":false,"fork":false,"pushed_at":"2018-04-14T15:48:56.000Z","size":154,"stargazers_count":46,"open_issues_count":6,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T23:44:19.016Z","etag":null,"topics":["component","neo4j","react"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbitton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-19T20:25:34.000Z","updated_at":"2024-07-01T10:58:59.000Z","dependencies_parsed_at":"2023-03-13T20:07:43.602Z","dependency_job_id":null,"html_url":"https://github.com/jbitton/neo4j-graph-renderer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbitton%2Fneo4j-graph-renderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbitton%2Fneo4j-graph-renderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbitton%2Fneo4j-graph-renderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbitton%2Fneo4j-graph-renderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbitton","download_url":"https://codeload.github.com/jbitton/neo4j-graph-renderer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","neo4j","react"],"created_at":"2024-09-30T15:00:01.297Z","updated_at":"2025-04-12T23:44:29.501Z","avatar_url":"https://github.com/jbitton.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neo4j-graph-renderer\n\nSince 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).\n\n## Installation\n\nIf you are using `create-react-app`:\n```bash\n# using NPM\n$ npm install neo4j-graph-renderer --save\n# using yarn\n$ yarn add neo4j-graph-renderer\n```\n\nIf you are not using `create-react-app`, please install the following:\n```bash\n$ npm install style-loader --save-dev  # style-loader for webpack\n$ npm install css-loader --save-dev    # css-loader for webpack\n```\n\n## Usage\n\n```javascript\n// Using ES6 Syntax\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { Neo4jGraphRenderer } from 'neo4j-graph-renderer';\n\nconst App = () =\u003e (\n  \u003cdiv\u003e\n     \u003cNeo4jGraphRenderer url={process.env.NEO4J_URL} user={process.env.NEO4J_USER}\n        password={process.env.NEO4J_PASSWORD} query=\"MATCH (n)-[r]-\u003e(m) RETURN n,r,m\"/\u003e\n  \u003c/div\u003e\n);\n\nReactDOM.render(\u003cApp /\u003e, document.getElementById('root'));\n```\n\nProps you must provide:\n* ```url```: the url required to access your neo4j db (e.g. \"http://localhost:7474\")\n* ```user```: the username required to access your neo4j db\n* ```password```: the password required to access your neo4j db\n* ```query```: the query you'd like to execute\n\n\u0026 There you go! Your neo4j graph has been rendered!\n\n**NOTE**: If you would like to add any extra CSS or your own font, the graph is generated in a ```div``` with id \"graph\"\n\n## Issues\n\nIf you find a bug, please file an issue on the [issue tracker](https://github.com/jbitton/neo4j-graph-renderer/issues) on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbitton%2Fneo4j-graph-renderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbitton%2Fneo4j-graph-renderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbitton%2Fneo4j-graph-renderer/lists"}