Then, on each function call, the state is incremented by the function’s argument.
First let’s define the must be supplied with a list of pairs of the form (shared-variable, new expression).
By doing so, the chart will automatically reflect changes and additions to the source data.
Being a declarative language, Cypher focuses on the clarity of expressing to retrieve it.
This is in contrast to imperative languages like Java, scripting languages like Gremlin, and the JRuby Neo4j bindings.
The ability to being able to have the most recent data represented in you graph and to have it do it automatically provides a new dimension to traditional visualizations. We'll add a button to our basic graph file so that we can control when our animation occurs, we'll generate a new data set so that we can see how the data changes easily, then we'll shuffle the code about a bit to make it do it's magic.