Adding, deleting, updating vertices is fine but when attempting to add edges I get the following exception stating edge additions not supported. Can anyone advise how to add edges when using remote client? Thanks in advance.
java.lang.IllegalStateException: Edge additions not supported at org.apache.tinkerpop.gremlin.structure.Vertex$Exceptions.edgeAdditionsNotSupported(Vertex.java:175) at org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceVertex.addEdge(ReferenceVertex.java:47)
Link to code: https://gist.github.com/ptclarke/45472fa5c268a6e8441e4c35615194aa