Closed porunov closed 6 years ago
I didn't find it in the Ferma documentation but found in the Tinkerpop documentation. Here is how to create vertices with custom labels:
Animal animal =
framedGraph.addFramedVertex(new DefaultClassInitializer<>(Animal.class), T.label, "animal");
I am using Ferma with JanusGraph. JanusGraph allows to set a label to a vertex. It would be awesome if Ferma could assign labels to vertices. Right now Ferma always assigns
vertex
label to all vertices.