private Entity ParseVertex(string line, ParsingContext context) { var vertex = new Vertex() { Key = EntityParser.ReadKey(line), Label = EntityParser.ReadLabel(line), Properties = EntityParser.ReadProperties(line) }; return(vertex); }
private Entity ParseEdge(string line, ParsingContext context) { var edge = new Edge() { Key = EntityParser.ReadKey(line), Label = EntityParser.ReadLabel(line), InKey = EntityParser.ReadInKey(line), OutKey = EntityParser.ReadOutKey(line), Properties = EntityParser.ReadProperties(line) }; return(edge); }