public Vertex(string key, IEnumerable <Edge> edges, string mappingFile) { Key = InputOutputKey.PrependPrefix(mappingFile, key); Edges = new List <Edge>(edges); }
public Edge(string edgeKey, string targetVertexKey, string mappingFile) { EdgeKey = InputOutputKey.PrependPrefix(mappingFile, edgeKey); TargetVertexKey = InputOutputKey.PrependPrefix(mappingFile, targetVertexKey); }