'how to add a list as property of vertex or edge gremlin

1.How to add a list as the value for the property for a vertex or edge. and what happens if a vertex get deleted does all its existing edges gets automatically deleted or we should remove manually and is it safe to remove a vertex.

2.How to create a vertex with JSON and how to get the output of gremlin query as JSON format.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source