Giter VIP home page Giter VIP logo

graphgen's People

Contributors

ikwattro avatar leward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graphgen's Issues

Graph is all black

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

Unable to pass '$count' parameter to `randomElements` provider

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.

Parse error if a randomElement has a full stop in it

String

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.

Number

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.

Number in string

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.