{"id":15994228,"url":"https://github.com/jexp/cypher-utils","last_synced_at":"2025-04-05T00:15:47.844Z","repository":{"id":66743911,"uuid":"14789905","full_name":"jexp/cypher-utils","owner":"jexp","description":"javascript cypher utils","archived":false,"fork":false,"pushed_at":"2015-08-03T21:00:47.000Z","size":203,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T08:31:21.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/jexp.png","metadata":{"files":{"readme":"readme.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-29T00:50:44.000Z","updated_at":"2022-09-04T16:01:17.000Z","dependencies_parsed_at":"2023-03-01T04:16:38.745Z","dependency_job_id":null,"html_url":"https://github.com/jexp/cypher-utils","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/jexp%2Fcypher-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fcypher-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fcypher-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fcypher-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jexp","download_url":"https://codeload.github.com/jexp/cypher-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266570,"owners_count":20910837,"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":[],"created_at":"2024-10-08T07:07:30.118Z","updated_at":"2025-04-05T00:15:47.802Z","avatar_url":"https://github.com/jexp.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Cypher-Utils =\n\n== Cypher Create Parser ==\n\nSimple Cypher create statement parser, generates d3 json.\n\nhttp://jexp.github.io/cypher-utils/d3[Sample page]\n\nSupports:\n\n* nodes with (multiple) labels\n* nodes with properties: strings, numbers, boolean, arrays\n* incoming, outgoing relationships\n* separate declaration of nodes and rels\n\n\nUsage:\n\n[source,cypher]\n----\ncreate (me:Person {name:\"Michael\"})\n\tcreate (peter:Person {name:\"Peter\"})\n\tcreate (graphgist:Project {name:\"GraphGist\"})\n\tcreate (me)-[:KNOWS {since:2006}]-\u003e(peter), \n\t       (me)-[:WORKS_ON]-\u003e(graphgist)\n\tCREATE (graphgist)\u003c-[:WORKS_ON]-(peter)\n----\n\n\n[source,javascript]\n----\nfunction render() {\n\tvar utils = new CypherUtils();\n\tvar elements = document.getElementsByTagName(\"pre\");\n\tfor (var i=0;i\u0026lt;elements.length;i++) {\n\t\tvar cypher=elements[i].innerText;\n\t\tvar graph=utils.parseCreate(cypher);\n\t\tforceLayout(graph);\n\t}\n}\n----\n\nRun tests: ./test.sh\n\nLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fcypher-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjexp%2Fcypher-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fcypher-utils/lists"}