graphaware / graphgen Goto Github PK
View Code? Open in Web Editor NEWThis project forked from neoxygen/neo4j-neogen
Easy generation of dummy Neo4j graphs with PHP
License: MIT License
This project forked from neoxygen/neo4j-neogen
Easy generation of dummy Neo4j graphs with PHP
License: MIT License
Hi,
I tried GraphGen today on 64 bit Chrome with Ubuntu. Using your sample model I clicked to generate the graph and the graph area came up black: no nodes or vertices. I can tell the model is there because I get description boxes if I slide the cursor around the black graph area and if I stop the cursor in the right place I see an entity disk with a name. It is working as expected for me with Chrome on WIndows 7.
-Dan
The pattern (p:Power { level: {randomElements:[[-1,2,3], 4]}})
produces a Power
node where the value of the level
property is an array containing 1 item. It produces one of two nodes:
(:Power {level: [4]})
Or:
(:Power {level: [[-1,2,3]]})
I would expect it to create a node like the following:
(:Power {level: [-1,2,-1,3]})
The randomElement
provider functions the same way.
The example provided by the docs ({ level: {randomElement:[[-1,2,3]] }}
), results in a property with the value of [-1,2,3]
. In order to get a result like the documentation says you should get, you have to flatten that array.
Works:
(thing:Thing { number: {randomElement:['Hello']} } *10)
Doesn't work:
(thing:Thing { number: {randomElement:['Hello.']} } *10)
// The part "(thing:Thing { number: {randomElement:['Hello.']} } *10)" could not be parsed, check it for type errors.
Works:
(thing:Thing { number: {randomElement:[1]} } *10)
Doesn't work:
(thing:Thing { number: {randomElement:[1.1]} } *10)
// The part "(thing:Thing { number: {randomElement:[1.1]} } *10)" could not be parsed, check it for type errors.
Works:
(thing:Thing { number: {randomElement:['1']} } *10)
Doesn't work:
(thing:Thing { number: {randomElement:['1.1']} } *10)
// The part "(thing:Thing { number: {randomElement:['1.1']} } *10)" could not be parsed, check it for type errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.