addVertex 

How to specify a vertex.

Synopsis

addVertex(label, 'label_name', 'key', 'value', 'key', 'value')

Description

Vertex data is inserted using addVertex. A previously created vertex label must be specified.

Examples

Create a vertex with a vertex label reviewer with the properties location and status.
graph.addVertex(label, 'reviewer', 'location', 'Santa Cruz, CA', 'status', 'Rock Star')