import com.datastax.dse.graph.api.DseGraph;
import com.datastax.dse.graph.api.DseGraphTraversalSource;
import com.datastax.dse.graph.api.DseGraphUnit;
public class DSEGraphExample {
public static void main(String[] args) {
DseGraph graph = DseGraph.builder()
.build();
DseGraphTraversalSource g = graph.traversal();
.next();
DseGraphUnit vertex2 = g.addV("person")
.property("name", "Bob")
.next();
.from(vertex1)
.to(vertex2)
.next();
}
}